[Cbc] help with gamstest in folder test

Christos chtsolak at gmail.com
Sun Oct 30 13:26:05 EDT 2011


On 30/10/2011 2:53 μμ, Stefan Vigerske wrote:
> 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
>
Thank you very very much!


More information about the Cbc mailing list