[Coin-discuss] VolLp Example

Daniele Ficcadenti danfic at libero.it
Mon Aug 26 12:30:48 EDT 2002


Hi everybody,
I have problems on compiling VolLp Example.

I downloaded the tarballs (08/26/2002 version) and
decompressed the following modules:
Vol, Osi, VolLp and VolUfl.

My target is to try and understand the two Examples
VA related: VolLp and VolUfl.

I proceeded as follow:

1. I compiled Vol module successfully.
2. I compiled and tested (with unitTest and
    unitTest -testOsiSolverInterface)
    the Osi module successfully.
3. I compiled and tested VolUfl example successfully.
4. I tried to compile VolLp example, but I obtained
    an "Error 1". Naturally, The executable (vollp)
    was not generated.

    The messages that i obtained from the "make"  command are:

----------------- BEGIN MESSAGES -------------------------------------------

../../Common/make/Makefile.detectVol:20: Trying to autodetect VolVolume.hpp...
../../Common/make/Makefile.detectVol:34: VolVolume.hpp is found ... 
../../include
../../Common/make/Makefile.detectVol:44: Trying to autodetect libvol.so...
../../Common/make/Makefile.detectVol:72: libvol.so is found ... ../../lib
../../Common/make/Makefile.detectOsi:19: Trying to autodetect

OsiSolverInterface.hpp...
../../Common/make/Makefile.detectOsi:33: OsiSolverInterface.hpp is found ...

../../include
../../Common/make/Makefile.detectOsi:44: Trying to autodetect libosi.so...
../../Common/make/Makefile.detectOsi:72: libosi.so is found ... ../../lib

Creating dependency vollp.d
../../Common/make/Makefile.detectVol:20: Trying to autodetect VolVolume.hpp...
../../Common/make/Makefile.detectVol:34: VolVolume.hpp is found ... 
../../include
../../Common/make/Makefile.detectVol:44: Trying to autodetect libvol.so...
../../Common/make/Makefile.detectVol:72: libvol.so is found ... ../../lib
../../Common/make/Makefile.detectOsi:19: Trying to autodetect

OsiSolverInterface.hpp...
../../Common/make/Makefile.detectOsi:33: OsiSolverInterface.hpp is found ...

../../include
../../Common/make/Makefile.detectOsi:44: Trying to autodetect libosi.so...
../../Common/make/Makefile.detectOsi:72: libosi.so is found ... ../../lib

Compiling vollp.cpp

Creating example vollp
g++ -I- -fPIC -pedantic  -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual

-Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes

-Wnested-externs -pipe -g -Iinclude -I../Common/include -DCGL_DEBUG 
-I../../include

-I../../include -I../../include -DCOIN_USE_VOL -o Linux-g/vollp 
Linux-g/vollp.o

-L/home/danfic/LAC/COIN/Examples/VolLp/../../lib

-L/home/danfic/LAC/COIN/Examples/VolLp/../../lib -L../../lib

-Wl,-rpath,/home/danfic/LAC/COIN/Examples/VolLp/../../lib

-Wl,-rpath,/home/danfic/LAC/COIN/Examples/VolLp/../../lib 
-Wl,-rpath,../../lib -losi

-lvol -losi   -lm
/home/danfic/LAC/COIN/Examples/VolLp/../../lib/libosi.so: undefined 
reference to

`gzopen'
/home/danfic/LAC/COIN/Examples/VolLp/../../lib/libosi.so: undefined 
reference to

`gzclose'
/home/danfic/LAC/COIN/Examples/VolLp/../../lib/libosi.so: undefined 
reference to

`gzgets'
collect2: ld returned 1 exit status
make: *** [Linux-g/vollp] Error 1

----------------- END MESSAGES -------------------------------------------

Some hints and/or suggestions? Please, it's very important for me.

Thanks in advance for your support.

Ciao, Daniele.




More information about the Coin-discuss mailing list