[Wylug-help] gazebo-netbpm-libpnm, compilation error for software installation

Yiannis Gatsoulis menig at leeds.ac.uk
Fri May 28 14:47:09 BST 2004


Hi, I am trying to compile a robot simulator (gazebo) but i am getting the
following error message:

c++  -g -g -O2  -o gazebo -L. -L/usr/X11R6/lib -L../libgazebo main.o
World.o
WorldFile.o Model.o ModelFactory.o Sensor.o SensorFactory.o X11Window.o
WindowManager.o Camera.o ContactParams.o -lX11 -lm -lpthread -lGL -lGLU
-L/usr/lib -lxml2 -lz -lpthread -lm -lode
models/ClodBuster/libclodbuster.a
models/Factory/libfactory.a models/GarminGPS/libgarmingps.a
models/GroundPlane/libgroundplane.a models/MapExtruder/libmapextruder.a
models/MonoCam/libmonocam.a models/Pioneer2AT/libpioneer2at.a
models/Pioneer2DX/libpioneer2dx.a models/SegwayRMP/libsegwayrmp.a
models/SickLMS200/libsicklms200.a models/SimpleSolid/libsimplesolid.a
models/SonyVID30/libsonyvid30.a
models/UserX11GLCamera/libuserx11glcamera.a
models/TruthWidget/libtruthwidget.a
sensors/X11GLCameraSensor/libx11glcamerasensor.a        -lpnm -lpbm
    -lGL
   -lGL -lgazebo bodies/libbodies.a ../replace/libreplace.a
../toolkit/libtoolkit.a -lode
/usr/bin/ld: cannot find -lpnm
collect2: ld returned 1 exit status
make[3]: *** [gazebo] Error 1


apparently it is because it is missing an image manipulation library called
libpnm. this exists in the old version of netbpm package. my machine is running
fedora-c2 (has a newer version of netpbm where libpnm does not exist but it has
been merged into one file with the other libraries), and i have "installed" an
older version of netpbm with the requested libraries (netpbm-9.24-12.1.1). in
fact i have copied the libraries into /usr/lib and then run ldconfig (dont know
if it was necessary). still though i am getting the same compilation error. in
a fedora-c1 machine it had installed fine.

any help?

Thanks,
Yiannis




More information about the Wylug-help mailing list