我正在使用 Cplex 和 Visual Studio 2010。我添加了包含并链接了.lib
. 我有很多错误,如下所示:
错误 1
error LNK2019: unresolved external symbol "public: void __thiscall IloAlgorithm::extract(class IloModel)const " (?extract@IloAlgorithm@@QBEXVIloModel@@@Z) referenced in function _main C:\Users\yasmine\Documents\Visual Studio 2010\Projects\NursesAllocation\NursesAllocation\NursesAllocation.obj
错误 2
error LNK2019: unresolved external symbol "public: __thiscall IloCplex::IloCplex(class IloEnv)" (??0IloCplex@@QAE@VIloEnv@@@Z) referenced in function _main C:\Users\yasmine\Documents\Visual Studio 2010\Projects\NursesAllocation\NursesAllocation\NursesAllocation.obj
请问,你能帮我解决这个问题吗?