[Cbc] help with gamstest in folder test

Stefan Vigerske stefan at math.hu-berlin.de
Sun Oct 30 08:53:09 EDT 2011


Hi,

you seem to miss libCbcSolver in the linker line.

Stefan


> I compiled and run successfully many examples from Cbc but when i am
> trying to compile gams test i get these 3 errors:
> Error 1 error LNK2019: unresolved external symbol "int __cdecl
> CbcMain1(int,char const * * const,class CbcModel &)"
> (?CbcMain1@@YAHHQAPBDAAVCbcModel@@@Z) referenced in function "void
> __cdecl sos1a(int &,int &)" (?sos1a@@YAXAAH0 at Z)
> G:\Διπλωματικη\gamstest\A\A\A.obj A
>
> Error 2 error LNK2019: unresolved external symbol "void __cdecl
> CbcMain0(class CbcModel &)" (?CbcMain0@@YAXAAVCbcModel@@@Z) referenced
> in function "void __cdecl sos1a(int &,int &)" (?sos1a@@YAXAAH0 at Z)
> G:\Διπλωματικη\gamstest\A\A\A.obj A
>
> Error 3 error LNK1120: 2 unresolved externals
> G:\Διπλωματικη\gamstest\A\Debug\A.exe 1 1 A
>
>
> Can anyone help?
> Thank you
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc



More information about the Cbc mailing list