[Cbc] Linking error while building CBC Stable version 2.3 with MSVS 2005

Emrah Tanriverdi emrahtanriverdi at yahoo.com
Wed Sep 23 12:54:46 EDT 2009


Hi,

I am getting the linking error below, while I am building the CBC 2.3 solution with MSVS 2005. Actually I tried it  MSVS 2008 and there is no problem with it. The steps I went through is easy, I am entering into "Cbc\MSVisualStudio\v8" and opening the .sln file and building it. 15 other libraries are building but, CGL is failing.
If you could help me, I will be grateful.
Thanks,

Linking...
libcgl.lib(CglLandPSimplex.obj) : error LNK2019: unresolved external symbol "public: void __thiscall LAP::TabRow::print(class std::basic_ostream<char,struct std::char_traits<char> > &,int,int const *,int)" (?print at TabRow@LAP@@QAEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@HPBHH at Z) referenced in function "protected: void __thiscall LAP::CglLandPSimplex::printTableau(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?printTableau at CglLandPSimplex@LAP@@IAEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@@Z)
libcgl.lib(CglLandPSimplex.obj) : error LNK2019: unresolved external symbol "public: __thiscall LAP::LandPMessages::LandPMessages(void)" (??0LandPMessages at LAP@@QAE at XZ) referenced in function "public: __thiscall LAP::CglLandPSimplex::CglLandPSimplex(class OsiSolverInterface const &,struct CglLandP::CachedData const &,class CglLandP::Parameters const &,class LAP::Validator const &)" (??0CglLandPSimplex at LAP@@QAE at ABVOsiSolverInterface@@ABUCachedData at CglLandP@@ABVParameters at 4@ABVValidator at 1@@Z)
libcgl.lib(CglLandPSimplex.obj) : error LNK2019: unresolved external symbol "public: void __thiscall LAP::Cuts::insert(int,class OsiRowCut *)" (?insert at Cuts@LAP@@QAEXHPAVOsiRowCut@@@Z) referenced in function "public: int __thiscall LAP::CglLandPSimplex::generateExtraCut(int,struct CglLandP::CachedData const &,class CglLandP::Parameters const &)" (?generateExtraCut at CglLandPSimplex@LAP@@QAEHHABUCachedData at CglLandP@@ABVParameters at 4@@Z)
libcgl.lib(CglLandPSimplex.obj) : error LNK2019: unresolved external symbol "void __cdecl LAP::modularizeRow(struct LAP::TabRow &,bool const *)" (?modularizeRow at LAP@@YAXAAUTabRow at 1@PB_N at Z) referenced in function "public: bool __thiscall LAP::CglLandPSimplex::optimize(int,class OsiRowCut &,struct CglLandP::CachedData const &,class CglLandP::Parameters const &)" (?optimize at CglLandPSimplex@LAP@@QAE_NHAAVOsiRowCut@@ABUCachedData at CglLandP@@ABVParameters at 5@@Z)
C:\Solver\CBC-Stable_2.3\Cbc\MSVisualStudio\v8\Release\cbcSolve.exe : fatal error LNK1120: 4 unresolved externals


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20090923/68fdd499/attachment.html 


More information about the Cbc mailing list