[Clp] Compiling Clp and CoinUtils in MS Visual Studio 10

Wolfgang Hartmann cmat.wolfgang at gmail.com
Sun Mar 9 04:27:10 EDT 2014


Hi,

I would like to get in contact with somebody here in this list who has
compiled Clp and CoinUtls in one single DLL using the C/C++ compiler
in MS Visual Studio 10.

I downloaded the code (.zip version) from the internet and tried to
compile a MS DLL without precompiled headers. Using precompuiled
headers made it IMHO worse.
The code, however, is obviously from a Linux version
and I'm getting a very large number of errors and warnings.

Several things I changed already:
- I inlcude math.h and have an endian.h file,
- I'm suppressing some inline's by resetting some defintions

Among the errors which I get are the following:

1>  CoinAbcSmallFactorization4.cpp
1>c:\cmat\xclp\abcsimplex.hpp(1242): error C2079:
'AbcSimplex::abcProgress_' uses undefined class 'AbcSimplexProgress'
1>c:\cmat\xclp\abcsimplex.hpp(743): error C2440: 'return' : cannot convert
from 'int *' to 'AbcSimplexProgress *'
1>          Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast

1>c:\cmat\xclp\coinabchelperfunctions.cpp(359): warning C4068: unknown
pragma
......................................
1>c:\cmat\xclp\coinabchelperfunctions.cpp(635): warning C4068: unknown
pragma
1>c:\cmat\xclp\coinabchelperfunctions.cpp(2005): error C2065: '__asm__' :
undeclared identifier
1>c:\cmat\xclp\coinabchelperfunctions.cpp(2005): error C2146: syntax error
: missing ';' before identifier '__volatile__'
1>c:\cmat\xclp\coinabchelperfunctions.cpp(2005): error C2143: syntax error
: missing ')' before ':'
1>c:\cmat\xclp\coinabchelperfunctions.cpp(2005): error C2059: syntax error
: ')'
1>c:\cmat\xclp\coinabchelperfunctions.cpp(2005): error C3861:
'__volatile__': identifier not found

1>  CoinAbcFactorization3.cpp
1>c:\cmat\xclp\coinabcbasefactorization3.cpp(1541): error C2661:
'CoinAbcScatterUpdate' : no overloaded function takes 4 arguments

Maybe somebody here on this community has some idea what I do wrong??

Please do not understand me wrong, Clp and Coin are definitely great
software
and I'm just such a junkie to work with MS Visual Studio
and Intel Parallel XL :-)   I know that already!
And maybe I have more experience with C than C++ ;-(

Wolfgang

-- 
Time is not Onedimensional!
And even if it were - it would still be too difficult for me to handle.---
Wolfgang M. Hartmann

On YouTube: http://www.youtube.com/watch?v=HE16lQWprwg&feature=youtu.be
 www.wcmat.com/wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20140309/bb364892/attachment.html>


More information about the Clp mailing list