[Cbc] Building with Visual Studio 2008
Iain Dunning
iaindunning at gmail.com
Wed Jul 20 23:59:06 EDT 2011
Hi,
I'm having a lot of trouble trying to build CBC with Visual Studio 2008.
This happens in 2.7 stable, 2.7.0 release, and trunk.
What I want to do is build "cbc.exe", but at the moment I'm just trying to
build the default project, cbcExamplesSample2
The errors I hit are many and varied...
I suspect some are pre-processor related, others seem more problematic.
1. Project libOsi - all fine
2. Project libClp
c:\coin\cbc\clp\src\clphelperfunctions.hpp(16) : fatal error C1189: #error :
"don't have header file for math"
Happens a few times.
3. Project libCoinUtils
c:\coin\cbc\clp\src\clphelperfunctions.hpp(16) : fatal error C1189: #error :
"don't have header file for math"
4. Project libOsiClp - all fine
5. Project libCbcSolver
..\..\..\src\unitTestClp.cpp(584) : error C2039: 'fastNodeDepth' : is not a
member of 'CbcModel'
c:\coin\cbc\cbc\src\CbcModel.hpp(99) : see declaration of 'CbcModel'
..\..\..\src\unitTestClp.cpp(585) : error C2039: 'setFastNodeDepth' : is not
a member of 'CbcModel'
c:\coin\cbc\cbc\src\CbcModel.hpp(99) : see declaration of 'CbcModel'
c:\coin\cbc\cbc\src\CbcLinked.hpp(29) : error C2504: 'CbcOsiSolver' : base
class undefined
Then a lot of errors follow on from this.
7. Project libCgl
c:\coin\cbc\cbc\src\cbcheuristic.cpp(539) : error C2039:
'continuousPriority' : is not a member of 'CbcModel
c:\coin\cbc\cbc\src\cbcheuristic.cpp(906) : error C2039: 'setFastNodeDepth'
: is not a member of 'CbcModel'
c:\coin\cbc\cbc\src\cbcheuristic.cpp(1163) : error C2039: 'setFastNodeDepth'
: is not a member of 'CbcModel'
c:\coin\cbc\cbc\src\cbcheuristic.cpp(1164) : error C2039: 'fastNodeDepth' :
is not a member of 'CbcModel'
There seems to be issues in the "test" projects, but I don't need those.
Any idea about how I fix these issues?
Cheers,
Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20110721/36b29493/attachment.html
More information about the Cbc
mailing list