Building CPLEX Callable Library Applications on UNIX Platforms

To compile and execute an example (lpex1) do the following:

    % cd examples/<machine>/<libformat>
    % make lpex1     #  to compile and execute the first CPLEX example

A list of all the examples that can be built this way is to be found in the makefile by looking for C_EX (C examples), or you can view the files listed in examples/src.

The makefile contains recommended compiler flags and other settings for your particular computer, which you can find by searching in it for "Compiler options" and use in your applications that call CPLEX.


Previous Page: Compiling and Linking Callable Library Applications   Return to Top Next Page: Building CPLEX Callable Library Applications on Win32 Platforms