Originally posted by: SystemAdmin
[Sylvain said:]
Here is an error I get when trying to compile an example (C:\ILOG\CPLEX110\examples\x86_.net2005_8.0\stat_mda\blend.vcproj) from Ilog Cplex 11.0 :
1>------ Build started: Project: blend, Configuration: Release Win32 ------
1>Compiling...
1>blend.cpp
1>Linking...
1>concert.lib(iloenv.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (__imp_?facet_Register@facet@locale@std@@CAXPAV123@@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
1>concert.lib(iloenv.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
1>.\..\..\..\examples\x86_.net2005_8.0\stat_mda/blend.exe : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://c:\ILOG\CPLEX110\examples\x86_.net2005_8.0\stat_mda\BuildLog.htm"
1>blend - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
This error happens when I use Visual Studio 2008 but not when I use Visual Studio 2005, with which it works perfectly. On another computer, I have seen the exact same error when using Visual Studio 2005.
Could anyone help me solve this issue ?
Thanks
#CPLEXOptimizers#DecisionOptimization