Overview
Callable Library applications follow conventional coding practices for linking and compiling.
Each Callable Library is distributed as a single library
file libcplex.a or cplexXXX.lib .
Use of the library file is similar to that with .o or .obj files.
Simply substitute the library file in the link procedure. This procedure
simplifies linking and makes sure that the smallest possible executable
is generated.
The following compilation and linking instructions assume that the example source programs and CPLEX Callable Library files are in the directories associated with a default installation of the software. If this is not true, additional compile and link flags would be required to point to the locations of the include file cplex.h or cplexx.h, and Callable Library files respectively.
The following instructions were current at the time of publication. As compilers, linkers and operating systems are released, different instructions may apply. Be sure to check the Release Notes that come with your CPLEX distribution for any changes. Also check the CPLEX topics among Detailed System Requirements (DSR) at the IBM.com website.