> Tutorials > Callable Library Tutorial > Compiling and Linking Callable Library Applications > Building Callable Library Applications on UNIX Platforms |
Building Callable Library Applications on UNIX Platforms |
INDEX
![]() |
To compile and execute an example (lpex1
) do the following:
% cd examples/machine/libformat % make lpex1 # to compile and execute the first CPLEX example |
In that command, machine indicates the name of the subdirectory corresponding to your type of machine, and libformat indicates your particular platform.
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 ILOG CPLEX.
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |