N
NewsGroup
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:rintSolution(class std::basic_ostream<char,struct
std::char_traits<char> > &,long)"
(?printSolution@IloOplModelI@@QAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@J@Z)
referenced in function "public: void __thiscall
IloOplModel:rintSolution(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(?printSolution@IloOplModel@@QAEXAAV?$basic_ostream@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.
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:rintSolution(class std::basic_ostream<char,struct
std::char_traits<char> > &,long)"
(?printSolution@IloOplModelI@@QAEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@J@Z)
referenced in function "public: void __thiscall
IloOplModel:rintSolution(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(?printSolution@IloOplModel@@QAEXAAV?$basic_ostream@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.