Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

[MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

  • 1.  [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Fri April 09, 2010 05:35 PM

    Originally posted by: RealReality


    Situation:
    • Microsoft Visual Studio 2008 Professional (90Days Trial)
    • IBM ILOG OPL-CPLEX Analyst Studio Teaching Edition Trial 6.3
    • Windows Vista Home Premium SP2 x64

    I have written my own application, managed to link and setup everything described in the manual (as far as I know) (file:///C:/ILOG/OPL63/doc/html/en-US/Content/Optimization/Documentation/OPL_Studio/_pubskel/globals/eclipse_and_xplatform/ps_opl1262.html#usroplsamples.uss_opl_libsamples.1015771 - C++ Interface Common Settings)

    In my own project, these errors occur: (Build Log)

    1>------ Build started: Project: Buffering - integrated, Configuration: Debug Win32 ------
    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>D:\Design\KarelCPlex\cplextest\Debug\Buffering - integrated.exe : fatal error LNK1120: 2 unresolved externals
    1>Build log was saved at "file://d:\Design\KarelCPlex\cplextest\Buffering - integrated\Debug\BuildLog.htm"
    1>Buffering - integrated - 3 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    


    Similar errors occur when I try to build the example projects: (Build Log - cropped to some error lines)
    1>------ Build started: Project: carseq, Configuration: Debug Win32 ------
    2>------ Build started: Project: customdatasource, Configuration: Debug Win32 ------
    3>------ Build started: Project: steelmill, Configuration: Debug Win32 ------
    4>------ Build started: Project: warehouse, Configuration: Debug Win32 ------
    1>Linking...
    2>Linking...
    4>Linking...
    3>Linking...
    3>opl.lib(elementtable.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    4>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    3>opl.lib(globals.obj) : error LNK2001: 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)
    1>opl.lib(elementtable.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    2>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    4>opl.lib(elementtable.obj) : error LNK2001: 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)
    3>concert.lib(iloenv.obj) : error LNK2001: 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)
    1>opl.lib(globals.obj) : error LNK2001: 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)
    2>opl.lib(elementtable.obj) : error LNK2001: 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)
    4>concert.lib(iloenv.obj) : error LNK2001: 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)
    3>opl.lib(elementtable.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    1>concert.lib(iloenv.obj) : error LNK2001: 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)
    


    Anyone who knows how to resolve these problems? (or why they're triggered?)

    If you require more information...
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Sun April 11, 2010 02:14 PM

    Originally posted by: RealReality


    Update:

    Problem hasn't been solved yet, but the project has been compiled in Microsoft Visual Studio 2005 Express...
    I have got different errors:
    • couldn't find wsock32.dll > ignored this library in the project settings, result was another error:
    • couldn't find uuid.lib > ignored it in the project settings

    It left me with 72 warnings about some debug link, but it did compile to a working executable.

    The program loads all variables, constraints and the objective function succesfully. BUT...
    Cplex.solve() causes a fatal error: can't load the license,

    This error is either caused by some wrong setting in my program code, ignoring the libraries, or CPlex OPL hasn't been installed correctly?
    I would have thought the trial version would at least include a license for the duration of the trial, or did I miss out on something?

    Is there an official support adress (e-mail) I can contact for these problems (as a student using the trial) ?
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Sun April 11, 2010 04:53 PM

    Originally posted by: RealReality


    Since you can't edit any posts, I've tried to describe the problems and actions as accurate and complete as possible,
    does anyone actually read these forums btw?

    1) Errors in Microsoft Visual Studio 2008

    1>Linking...
    1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
    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>C:\Users\Jeroen\Desktop\Formule v3\Debug\Formule v3.exe : fatal error LNK1120: 2 unresolved externals
    Actions trying to solve it:
    Linker > Input > Ignore specific library: MSVCRT

    New errors:

    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>C:\Users\Jeroen\Desktop\Formule v3\Debug\Formule v3.exe : fatal error LNK1120: 2 unresolved externals
    2) Imported the project in Microsoft Visual Studio Express 2005. Other errors occurred:

    Errors:

    1>------ Build started: Project: Formule v3, Configuration: Debug Win32
    1>Linking...
    1>LINK : fatal error LNK1104: cannot open file 'uuid.lib'
    1>Build log was saved at "file://d:\Design\KarelCPlex\Formule v3\Buffering - integrated\Debug\BuildLog.htm"
    1>Formule v3 - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Actions trying to solve it:
    Linker > Input > Ignore specific library: MSVCRT; uuid.lib

    New errors:

    1>------ Build started: Project: Formule v3, Configuration: Debug Win32
    1>Linking...
    1>concert.lib(ilointervalsi.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilonumfunci.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloparami.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloskiplist.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosbasic.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosstructi.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosdisplayi.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloserror.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosmodel.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosatomi.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilossol.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilostimei.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilossequencei.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosoplcp.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloalg.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloallocator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloanyexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocollection.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosimplecollection.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocollectionoperator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocollectioniterator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocollectionstruct.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosortedcollection.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosortedcollectionoperator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloanycollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocolloperator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilointcollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilonumcollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocomprehension.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloenv.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloexpression.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloextractable.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilohash.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloiterator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilomap.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloconstraint.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilooplcp.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilorandom.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(iloset.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosolution.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilosymbolexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilothread.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotypes.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilocollectioncolumn.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilodatacolumn.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilorequestcache.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuple.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuplebuffer.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuplecollection.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuplesetop.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuplecollectionhash.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuplemap.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotuplerequest.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilotupleschema.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(ilokeyschema.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalanycollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalanyexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalcollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalcollexprct.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalct.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalexpand.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalextractor.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalchange.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalintcollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalintexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalkernel.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalnumcollexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalnumexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evaltuplesetexpr.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evaluator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalgenerator.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>concert.lib(evalnormalizer.obj) : warning LNK4099: PDB 'concert.pdb' was not found with 'C:\ILOG\OPL63\lib\x86_.net2005_8.0\stat_mda\concert.lib' or at 'd:\Design\KarelCPlex\Formule v3\debug\concert.pdb'; linking object as if no debug info
    1>Embedding manifest...
    1>Build log was saved at "file://d:\Design\KarelCPlex\Formule v3\Buffering - integrated\Debug\BuildLog.htm"
    1>Formule v3 - 0 error(s), 74 warning(s)
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    3) Running executable: succeeds to load the data, add the variables, constraints and objective function, but returns a fatal error when calling cplex.solve()

    Error:

    Sun Apr 11 20:23:09 2010 - ERROR: Concert exception caught: CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable (see
    http://support.ilog.com/faqmsg?m=ILM-16&v=2.62f).

    I've tried to solve the uuid.lib problem by installing Windows Platform SDK 2008, but that didn't seem to help...

    I'm running out of options now, any help is appreciated...
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Sun April 11, 2010 05:55 PM

    Originally posted by: RealReality


    And another update:
    I don't know if it's related to the problem or causing it, but we're currently adding 1,350 variables and 3,475 constraints as a test.

    The real model we want to solve contains roughly 1,000,000 variables and 2,500,000 constraints...

    Could this be causing the error?

    If not, when solved, can our version of CPlex (Teaching Edition) solve the model?

    If not, which version of CPlex do we need and is it even possible for a student to obtain it (for free?) ?
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Sun April 11, 2010 07:45 PM

    Originally posted by: SystemAdmin


    I suggest that before compiling your own code, you first try compiling one of the example programs that come with CPLEX. They should be installed in folders under the CPLEX installation directory. That will let you figure out compiler and linker settings without the conflation of possible bugs in the code.

    There's a make file among the examples that may help you figure out necessary settings. There may also be MSVC project files -- right now I'm on a Linux box, which wouldn't have them in any case, so I'm not positive about that. Also, you might try searching the sci.op-research archives (Google Groups is your friend there) -- I'm pretty sure I've seen questions about how to get MSVC to compile CPLEX, and I think I saw them posted there. (You might also search the archives of this forum.)

    Ignoring wsock32.dll is the kiss of death -- CPLEX uses a network socket to connect to the license server, and if you don't link the WinSock DLL (and any other network junk it needs), it won't find the license server and that will be that.

    Finally, regarding the teaching version, I think there are size limits (500 constraints, 500 variables?) for the teaching version. IBM has released the full version of CPLEX free to academics who join their Academic Initiative. (Joining is free.) I don't think students can join (not positive about that), but if you are working with a faculty member, the faculty member can get the full version. There's a message about it in this forum (http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14437157&tstart=0#14437157).

    /Paul
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Sun April 11, 2010 08:10 PM

    Originally posted by: RealReality


    Thanks for your reply.

    I've tried compiling the examples in MSVC2008 and 2005 Express, the project files were included, but they triggered some errors I didn't understand:

    1>------ Rebuild All started: Project: carseq, Configuration: Debug Win32
    2>------ Rebuild All started: Project: customdatasource, Configuration: Debug Win32
    3>------ Rebuild All started: Project: steelmill, Configuration: Debug Win32
    3>Deleting intermediate and output files for project 'steelmill', configuration 'Debug|Win32'
    2>Deleting intermediate and output files for project 'customdatasource', configuration 'Debug|Win32'
    1>Deleting intermediate and output files for project 'carseq', configuration 'Debug|Win32'
    4>------ Rebuild All started: Project: warehouse, Configuration: Debug Win32
    4>Deleting intermediate and output files for project 'warehouse', configuration 'Debug|Win32'
    2>Compiling...
    3>Compiling...
    1>Compiling...
    4>Compiling...
    4>warehouse.cpp
    2>customdatasource.cpp
    1>carseq.cpp
    3>steelmill.cpp
    4>Linking...
    3>Linking...
    2>Linking...
    1>Linking...
    2>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    1>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    4>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    3>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    4>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\warehouse.htm"
    4>warehouse - 1 error(s), 0 warning(s)
    2>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\customdatasource.htm"
    2>customdatasource - 1 error(s), 0 warning(s)
    1>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\carseq.htm"
    1>carseq - 1 error(s), 0 warning(s)
    3>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\steelmill.htm"
    3>steelmill - 1 error(s), 0 warning(s)
    5>------ Rebuild All started: Project: oplrunsample, Configuration: Debug Win32
    5>Deleting intermediate and output files for project 'oplrunsample', configuration 'Debug|Win32'
    6>------ Rebuild All started: Project: mulprod_main, Configuration: Debug Win32
    6>Deleting intermediate and output files for project 'mulprod_main', configuration 'Debug|Win32'
    5>Compiling...
    6>Compiling...
    6>mulprod_main.cpp
    5>oplrunsample.cpp
    7>------ Rebuild All started: Project: mulprod, Configuration: Debug Win32
    7>Deleting intermediate and output files for project 'mulprod', configuration 'Debug|Win32'
    8>------ Rebuild All started: Project: iterators, Configuration: Debug Win32
    8>Deleting intermediate and output files for project 'iterators', configuration 'Debug|Win32'
    7>Compiling...
    8>Compiling...
    7>mulprod.cpp
    8>iterators.cpp
    5>Linking...
    6>Linking...
    5>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    6>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    5>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\oplrunsample.htm"
    5>oplrunsample - 1 error(s), 0 warning(s)
    6>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\mulprod_main.htm"
    6>mulprod_main - 1 error(s), 0 warning(s)
    9>------ Rebuild All started: Project: cutstock_change, Configuration: Debug Win32
    9>Deleting intermediate and output files for project 'cutstock_change', configuration 'Debug|Win32'
    9>Compiling...
    9>cutstock_change.cpp
    8>Linking...
    8>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    8>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\iterators.htm"
    8>iterators - 1 error(s), 0 warning(s)
    10>------ Rebuild All started: Project: cutstock, Configuration: Debug Win32
    10>Deleting intermediate and output files for project 'cutstock', configuration 'Debug|Win32'
    10>Compiling...
    7>Linking...
    7>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    10>cutstock.cpp
    7>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\mulprod.htm"
    7>mulprod - 1 error(s), 0 warning(s)
    9>Linking...
    9>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    9>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\cutstock_change.htm"
    9>cutstock_change - 1 error(s), 0 warning(s)
    10>Linking...
    10>LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
    10>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_.net2005_8.0\stat_mda\Debug\cutstock.htm"
    10>cutstock - 1 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 10 failed, 0 skipped ==========
    Seems I should include wsock32.dll again (but back then, MSVC could find it or sth...) and solving those problems won't solve the maximum variable/constraint problem.
    I'm currently helping out someone of another faculty (I'm not studying IT at all) with his master's thesis,
    because I have minor experience in C++ and was willing to invest some time in figuring out the CPlex system.

    I think I'll wait 'till I get a copy of the full version from the faculty, if they can deliver one in time...
    As a student, you can't apply for the Academics Initiative (would take too long anyway, we need it this week)
    Any idea how long it could take to calculate the solution to the model? (MIP with 1 million variables and 2.5 million constraints)

    Are we talking about hours, days or weeks?

    We currently don't know how much CPU resources we'll get at the faculty (if we can get any). I have a Q9450 with 4gb RAM, but I don't know it'll suffice...
    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Sun April 11, 2010 08:58 PM

    Originally posted by: RealReality


    Above were the errors for Microsoft Visual Studio 2005 Express,

    here are the errors for Microsoft Visual Studio 2008 Professional:
    1>------ Build started: Project: carseq, Configuration: Debug Win32
    2>------ Build started: Project: customdatasource, Configuration: Debug Win32
    3>------ Build started: Project: steelmill, Configuration: Debug Win32
    1>Linking...
    4>------ Build started: Project: warehouse, Configuration: Debug Win32
    2>Linking...
    3>Linking...
    4>Linking...
    4>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    4>opl.lib(elementtable.obj) : error LNK2001: 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)
    4>concert.lib(iloenv.obj) : error LNK2001: 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)
    4>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    4>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    4>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)
    4>.\warehouse.exe : fatal error LNK1120: 3 unresolved externals
    1>opl.lib(elementtable.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    2>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    3>opl.lib(elementtable.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    1>opl.lib(globals.obj) : error LNK2001: 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)
    2>opl.lib(elementtable.obj) : error LNK2001: 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)
    3>opl.lib(globals.obj) : error LNK2001: 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)
    1>concert.lib(iloenv.obj) : error LNK2001: 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)
    2>concert.lib(iloenv.obj) : error LNK2001: 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)
    3>concert.lib(iloenv.obj) : error LNK2001: 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)
    1>opl.lib(elementtable.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    2>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    3>opl.lib(elementtable.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    1>opl.lib(globals.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    2>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    3>opl.lib(globals.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@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)
    2>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)
    3>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>.\carseq.exe : fatal error LNK1120: 3 unresolved externals
    2>.\customdatasource.exe : fatal error LNK1120: 3 unresolved externals
    3>.\steelmill.exe : fatal error LNK1120: 3 unresolved externals
    4>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\warehouse.htm"
    4>warehouse - 7 error(s), 0 warning(s)
    2>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\customdatasource.htm"
    3>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\steelmill.htm"
    1>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\carseq.htm"
    2>customdatasource - 7 error(s), 0 warning(s)
    3>steelmill - 7 error(s), 0 warning(s)
    1>carseq - 7 error(s), 0 warning(s)
    5>------ Build started: Project: oplrunsample, Configuration: Debug Win32
    6>------ Build started: Project: mulprod_main, Configuration: Debug Win32
    7>------ Build started: Project: mulprod, Configuration: Debug Win32
    8>------ Build started: Project: iterators, Configuration: Debug Win32
    5>Linking...
    6>Linking...
    7>Linking...
    8>Linking...
    7>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    7>opl.lib(elementtable.obj) : error LNK2001: 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)
    7>concert.lib(iloenv.obj) : error LNK2001: 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)
    7>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    7>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    7>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)
    7>.\mulprod.exe : fatal error LNK1120: 3 unresolved externals
    8>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    8>opl.lib(elementtable.obj) : error LNK2001: 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)
    6>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    8>concert.lib(iloenv.obj) : error LNK2001: 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)
    8>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    6>opl.lib(elementtable.obj) : error LNK2001: 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)
    8>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    6>concert.lib(iloenv.obj) : error LNK2001: 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)
    8>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)
    6>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    8>.\iterators.exe : fatal error LNK1120: 3 unresolved externals
    6>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    6>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)
    6>.\mulprod_main.exe : fatal error LNK1120: 3 unresolved externals
    7>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\mulprod.htm"
    7>mulprod - 7 error(s), 0 warning(s)
    8>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\iterators.htm"
    8>iterators - 7 error(s), 0 warning(s)
    6>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\mulprod_main.htm"
    5>opl.lib(elementtable.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    5>opl.lib(globals.obj) : error LNK2001: 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)
    6>mulprod_main - 7 error(s), 0 warning(s)
    5>concert.lib(iloenv.obj) : error LNK2001: 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)
    9>------ Build started: Project: cutstock_change, Configuration: Debug Win32
    5>opl.lib(elementtable.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    5>opl.lib(globals.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    5>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)
    10>------ Build started: Project: cutstock, Configuration: Debug Win32
    5>.\oplrunsample.exe : fatal error LNK1120: 3 unresolved externals
    5>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\oplrunsample.htm"
    5>oplrunsample - 7 error(s), 0 warning(s)
    9>Linking...
    10>Linking...
    9>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    9>opl.lib(elementtable.obj) : error LNK2001: 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)
    9>concert.lib(iloenv.obj) : error LNK2001: 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)
    9>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    9>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    9>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)
    9>.\cutstock_change.exe : fatal error LNK1120: 3 unresolved externals
    10>opl.lib(globals.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::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    10>opl.lib(elementtable.obj) : error LNK2001: 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)
    10>concert.lib(iloenv.obj) : error LNK2001: 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)
    10>opl.lib(globals.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::numpunct<char> const & __cdecl std::use_facet<class std::numpunct<char> >(class std::locale const &)" (??$use_facet@V?$numpunct@D@std@@@std@@YAABV?$numpunct@D@0@ABVlocale@0@@Z)
    10>opl.lib(elementtable.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::numpunct<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$numpunct@D@std@@SAIPAPBVfacet@locale@2@@Z)
    10>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)
    10>.\cutstock.exe : fatal error LNK1120: 3 unresolved externals
    9>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\cutstock_change.htm"
    10>Build log was saved at "file://c:\ILOG\OPL63\examples\opl_interfaces\cpp\x86_windows_vs2008\stat_mda\Debug\cutstock.htm"
    10>cutstock - 7 error(s), 0 warning(s)
    9>cutstock_change - 7 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 10 failed, 0 up-to-date, 0 skipped ==========
    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Mon April 12, 2010 10:53 AM

    Originally posted by: SystemAdmin


    The MSVC 2005 Express output I can at least read. The linker apparently can't find the ODBC32 library (which would be used for database access). That library has to come from Micro$oft, not IBM. On this one Google is your friend: http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/0f39e8ef-0cf9-408e-98f5-1ade6d630b44. Looks like maybe you need to install a system development kit for the compiler.

    The MSVC 2008 output seems to adhere to Micro$oft's policy of making things "easier to use" by making them harder to use. My C++ days are long behind me, but I think std::... indicates something provided by the Standard Library, so maybe the linker can't find part or all of the Standard Library? Again, that's something that should come with MSVC, not anything IBM would provide.

    /Paul
    #CPLEXOptimizers
    #DecisionOptimization


  • 9.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Mon April 12, 2010 11:09 AM

    Originally posted by: RealReality


    I've tried downloading and installing the Platform SDK for 2005, but it returned an error message.
    Then installed Platform SDK 2008 succesfully, but the errors remained...

    I'm not putting any more effort in using it on my own pc. One reason I stopped programming C++ Win32 applications is the *** mess I had to deal with.
    We're not getting a license either, so we're dependent on the pc's of the faculty and will have to continue programming and debugging there.

    The program ran on one of their computers, without errors, so at least we have got a chance of getting to solve the MIP.

    Thanks for your help.
    #CPLEXOptimizers
    #DecisionOptimization


  • 10.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Mon April 12, 2010 11:55 AM

    Originally posted by: SystemAdmin


    > RealReality wrote:

    > One reason I stopped programming C++ Win32 applications is the *** mess I had to deal with.

    Been there, done that, still have the scars (including a forced conversion from Borland's C++ development system to Microsoft's). I seem to recall some adventures with M$'s version of the standard template library -- their idea of "standard" didn't exactly conform to what the rest of the world had in mind.

    > We're not getting a license either, so we're dependent on the pc's of the faculty and will have to continue programming and debugging there.

    Hey, maybe if you inconvenience them enough they'll learn to do their own work! (For the record, I'm a professor.)
    >
    > The program ran on one of their computers, without errors, so at least we have got a chance of getting to solve the MIP.

    Assuming it's not too chewy -- MIP solution times range from milliseconds to long past when the universe will have suffered heat death.
    >
    > Thanks for your help.

    You're welcome.

    /Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization


  • 11.  Re: [MSVC2008+ILOG OPL-CPLEX] Failure to build examples (linking errors)

    Posted Mon April 12, 2010 03:41 PM

    Originally posted by: SystemAdmin


    To clarify the comment about access to the full version of CPLEX through IBM's Academic Initiative program: students are not able to register for the Academic Initiative, so they must get the full version of CPLEX through a faculty member. The trial editions are available to students via the Student Portal.

    Philip Starhill
    CPLEX Research Engineer
    #CPLEXOptimizers
    #DecisionOptimization