[Clp] Linking problem on VC 10

Paul De La Musica paul.delamusica at gmail.com
Fri Jul 29 23:38:06 EDT 2011


Hi,

  I am trying to use CLP 1.14.0 on Visual Studio 2010 Express. The
libraries compiled OK. But when I tried to link with the application,
I got a lot of unsatisfied externals (see below).

  Both CLP and my code are compiled with /MDd option.

  I would appreciate some help.

Paul

1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
1>libCoinUtils.lib(CoinFactorization3.obj) : error LNK2001: unresolved
external symbol "__declspec(dllimport) public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(struct
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Has_debug_it)"
(__imp_??0?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at U_Has_debug_it@01@@Z)

......

1>libClp.lib(ClpModel.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::`default constructor closure'(void)"
(__imp_??_F?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEXXZ)
1>libOsi.lib(OsiNames.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) struct std::_Smanip<int> __cdecl
std::setw(int)" (__imp_?setw at std@@YA?AU?$_Smanip at H@1 at H@Z)
1>libOsi.lib(OsiNames.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
std::_Container_base_secure::_Swap_aux(class
std::_Container_base_secure &)"
(__imp_?_Swap_aux at _Container_base_secure@std@@QAEXAAV12@@Z)
1>libOsi.lib(OsiNames.obj) : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
std::_Container_base_secure::_Swap_all(class
std::_Container_base_secure &)const "
(__imp_?_Swap_all at _Container_base_secure@std@@QBEXAAV12@@Z)
1>.\Debug/test.exe : fatal error LNK1120: 15 unresolved externals




More information about the Clp mailing list