Hi,
I have just installed CPLEX, and this has installed correctly. It put it's header files under: /home/dorien/ILOG/..../include/
Now I am trying to compile an example, which has:
#include <ilcplex/ilocplex.h>
but I got:
/home/dorien/C++/cplex-build-desktop/../cplex/main.cpp:35: error: ilcplex/ilocplex.h: No such file or directory
First thing I did was lose the .h... to no effect.
Then I tried specifying the entire path to the header
#include </home/dorien/ILOG/CPLEX_Studio_AcademicResearch122/cplex/include/ilcplex/ilocplex.h>
Same message.
The CPLEX documentation said
To exploit a C++ library like ILOG CPLEX in Concert Technology, you need to tell your compiler where to find the ILOG CPLEX and Concert include files (that is, the header files), and you also need to tell the linker where to find the ILOG CPLEX and Concert libraries.
Any clues?
My environment is OpenSuse 64bit, using Qt Creator.