2012-09-06 7 views
0

Cplex 및 Visual Studio 2010에서 작업하고 있습니다. 포함 항목을 추가하고 .lib을 연결했습니다.오류 LNK2019 : 해결되지 않은 외부 기호?

  • 오류 2

    error LNK2019: unresolved external symbol "public: __thiscall IloCplex::IloCplex(class IloEnv)" 
    ([email protected]@[email protected]@@@Z) referenced in function 
    _main C:\Users\yasmine\Documents\Visual Studio 2010\Projects\NursesAllocation\NursesAllocation\NursesAllocation.obj 
    

, 당신은 내가이 문제를 해결하는 데 도움이 될 수 있습니다 제발 1

error LNK2019: unresolved external symbol "public: void __thiscall IloAlgorithm::extract(class IloModel)const " 
([email protected]@@[email protected]@@Z) referenced in function 
_main C:\Users\yasmine\Documents\Visual Studio 2010\Projects\NursesAllocation\NursesAllocation\NursesAllocation.obj 
  • 오류 : 나는 다음과 같은 오류를 많이 있나요?

  • +2

    라이브러리를 프로젝트 설정에 추가 했습니까? (링커 섹션에서) – Blood

    +0

    * 올바른 * 라이브러리를 추가 했습니까? –

    +0

    cplex에 대한 설명서를 보았지만별로 좋지 않습니다. 어쩌면 넌 옳은 일을하지 않았을거야. lib를 링크 할 때 정확히 무엇을했는지 설명해보십시오. – john

    답변

    0

    나는 동일한 문제가있어서 추가 종속성에 대한 ilocplex.lib를 포함하여이를 해결했습니다. 그러나 Cplex for Visual Studio 2008이 있습니다.

    관련 문제