[Cbc] VS 2019 Cbc build problems

Stefan Vigerske svigerske at gams.com
Mon Feb 3 04:58:06 EST 2020


Hi,

On 2/2/20 10:09 PM, Jan-Willem Goossens wrote:
> Dear all,
> 
> I’m trying to build the latest (master) Cbc using Visual Studio 2019 and the v16 solution, together with the latest master of all relevant related repos (BuildTools, CoinUtils, Cgl, etc., etc.)
> 
> First, I encountered an issue loading the Cbc solution, due to a ReleaseParallel configuration, but I think I worked around that.
> Next, libCoinUtils wouldn’t compile, due to a #define COINUTILSLIB_EXPORT was missing.

This might be fixed now.

> After that, libClp wouldn’t compile, due unknown WSMP_FUNC in ClpCholeskyWssmp.cpp.

Then you should add a define for WSMP_FUNC according to the name 
mangling scheme that your Wsmp library uses.
That is, if you don't have Wsmp, don't try to build ClpCholeskyWssmp.cpp.

> By now, I’m wondering what I’m might be doing wrong?

The main supported buildsystem for CoinUtils, Clp, Cbc, etc is the 
autotools-based system, which should work with MS compilers under MSys2 
on Windows, too.
This buildsystem has been updated in the master branches, that is, the 
current development versions of CoinUtils, Clp, Cbc, etc., recently, 
which also brought some changes to the code itself. This very likely 
broke these MSVS project files. Noone looked into fixing these so far.

Stefan

> Thank you for any help.
> 
> Regards,
> 
> Jan-Willem
> (BTW, eliminate root directory was a great move)
> 
> 
> 
> 
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cbc
> 



More information about the Cbc mailing list