[Cbc] build issue in cbcCInterfaceDll

James Howey james.howey at gmail.com
Thu Dec 21 21:23:50 EST 2017


On windows 10,
I get stable 2.9.9 via svn,
 start visual studio 2017,
upgrade tool set and projects,
set compile option /FS (after multiple failures accessing pdb file without
serialization)
build x64 release solution,
successful.
Now build cbcCInterfaceDll project, and get the below two link faults

I expect this is pretty easy for folks with more native code experience than
I to fix, particularly if one wants it fixed the right way. 

Thanks,

jkh


3>------ Build started: Project: cbcCInterfaceDll, Configuration: Release
x64 ------
3>Cbc_C_Interface.cpp
3>   Creating library C:\Users\jhowey\Google
Drive\wealth\cbc\Cbc\MSVisualStudio\v10\x64-v141-Release\cbcCInterfaceDll.li
b and object C:\Users\jhowey\Google
Drive\wealth\cbc\Cbc\MSVisualStudio\v10\x64-v141-Release\cbcCInterfaceDll.ex
p
3>Cbc_C_Interface.obj : error LNK2019: unresolved external symbol "void
__cdecl CbcMain0(class CbcModel &)" (?CbcMain0@@YAXAEAVCbcModel@@@Z)
referenced in function Cbc_newModel
3>Cbc_C_Interface.obj : error LNK2019: unresolved external symbol "int
__cdecl CbcMain1(int,char const * * const,class CbcModel &)"
(?CbcMain1@@YAHHQEAPEBDAEAVCbcModel@@@Z) referenced in function Cbc_solve
3>C:\Users\jhowey\Google
Drive\wealth\cbc\Cbc\MSVisualStudio\v10\x64-v141-Release\cbcCInterfaceDll.dl
l : fatal error LNK1120: 2 unresolved externals
3>Done building project "cbcCInterfaceDll.vcxproj" -- FAILED.



More information about the Cbc mailing list