Add Defines
(if use STL):
DEFINES += ILOUSESTL
For errors like:
iostream.h: No such file of directory
Add libraries :
LIBS += ...../cplex/lib/x86-64/static_pic/libilocplex.a \
...../cplex/lib/x86-64/static_pic/libcplexdistmip.a \
...../cplex/lib/x86-64/static_pic/libcplex.a
...../concert/lib/x86-64/static_pic/libconcert.a
If there are errors like:
... libcplex.a(mt.o): undefined reference to symbol 'pthread_getaffinity_np@@GLIBC_2.3.4
LIBS += -L/usr/local/lib -lpthread
Add includes:
INCLUDEPATH += ..../cplex/include \
..../concert/include