Hello,
I am trying to write a code to interface with ILOG OPL development
studio using their C++ libraries and header files. But I am encountering
linker issues, an example being -
error LNK2019: unresolved external symbol "public: void __thiscall
IloOplModelI::printSolution(class std::basic_ostream<char,struct
std::char_traits<char &,long)"
(?printSolution@IloOplModelI@@QAEXAAV?$basic_ostre am@DU?$char_traits@D@std@@@std@@J@Z)
referenced in function "public: void __thiscall
IloOplModel::printSolution(class std::basic_ostream<char,struct
std::char_traits<char &)"
(?printSolution@IloOplModel@@QAEXAAV?$basic_ostrea m@DU?$char_traits@D@std@@@std@@@Z)
Any idea why this is happening? Is this because OPL libraries are not
linked properly? If it is, how do I link the OPL library files using cl
in the command line? I am pretty new to using the cl compiler. Thanks in
advance.
Raj.