Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

"error LNK2019: unresolved external symbol" with VS 2010 and cplex1263

  • 1.  "error LNK2019: unresolved external symbol" with VS 2010 and cplex1263

    Posted 01/04/16 11:33 AM

    Originally posted by: Zele


    Hi all,

    until yestarday, I was using visual studio 2010 with windows 8 32 bits, and cplex 1262 32 bits. I have changed to visual studio 2010 but now with windows 8 64 bits an cplex 1263 64 bits.

    I try to use my projects in the new operative system but I have a lot of errors. Besides, I have changed the project properties according to "Using IBM ILOG CPLEX Optimizers with Microsoft Visual C++" file.

    I copy here some of the errors, all of them begining with

    " error LNK2019: unresolved external symbol __imp__CPXcloseCPLEX@4 referenced in function _main;

    error LNK2019: unresolved external symbol __imp__CPXfreeprob@8 referenced in function _main

    etc"

    I have been looking for similar topics in the forum but, after taking into account all the considerations in them, I have not success with my problem.

     

    Thanks in advance.

    Best regards.

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: "error LNK2019: unresolved external symbol" with VS 2010 and cplex1263

    Posted 01/04/16 11:48 AM

    Symbols with '@N' at the end of their name are 32bit symbols. Can you please double check and make sure your project is configured for 64bit mode? In case you want to build in 32bit mode you will have to install 32bit CPLEX.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: "error LNK2019: unresolved external symbol" with VS 2010 and cplex1263

    Posted 01/04/16 01:28 PM

    Originally posted by: Zele


    Thanks Daniel.

    I have downloaded Cplex 32 bit I now I can run it perfectly.

     


    #CPLEXOptimizers
    #DecisionOptimization