1 2 3 4 5 6 7 8 9 10 11 12
|
NOTE: that althought some of the examples will compile (e.g. shared examples) they will not work accordingly if the shared libraries are not properly installed. The only
exception is that of static_example2, that is if glpk is installed (read bellow).
To compile the examples you need to have glpk installed and do one of the following:
1. Install the glpk library to /usr/local/ have its location on disk added to /etc/ld.soconf.
2. Alternativelly if you have installed lip-2.0.0 to a user directory (e.g. /home/username/liblip2 ), the you might want to place libglpk.a in the lib directory (e.g
/home/username/liblip2/lib).
3. Edit the makefile and ensure that the the compiler know the location of the libglpk.a. This can be done by editing the GLPK_STATIC_PATH variable in the make file.
|