Originally posted by: yhlvqz
hi, Thomas
Thanks.
I am trying the compiler as following,
gcc /path/lpex3.c -o lpex3 -L/path/cplex/lib/x86-64_sles10_4.1/static_pic -I/path/cplex/include -lcplex -lpthread -lm
It works. I knew -I/path/cplex/include gave the path for ilcplex/cplex.h.
Would you tell me why -L/path/cplex/lib/x86-64_sles10_4.1/static_pic and -lcplex -lpthread -lm are necessary? Thanks
#CPLEXOptimizers#DecisionOptimization