"Toby Collett" <[EMAIL PROTECTED]> writes:

> Hi Nate,
> I had some trouble building the latest svn gazebo as it was looking
> for Fl.hand on debian/ubuntu and I assume in the source all the
> headers are .H for
> fltk. What version/distribution of fltk are you using and are we able to
> change the header in the source to a capital .H. If not I will write some
> scons config code to test for it...

Just changing FLTKGui.hh fixes that:
Index: server/gui/fltk/FLTKGui.hh
===================================================================
--- server/gui/fltk/FLTKGui.hh  (revision 95)
+++ server/gui/fltk/FLTKGui.hh  (working copy)
@@ -3,9 +3,9 @@
 
 #include <string>
 
-#include <FL/Fl.h>
+#include <FL/Fl.H>
 #include <FL/x.H>
-#include <FL/Enumerations.h>
+#include <FL/Enumerations.H>
 #include <FL/Fl_Window.H>


Also, on my machine it's not linking in OpenGL libraries (libfltk1.1):


scons: done reading SConscript files.
scons: Building targets ...
g++ -o gazebo server/physics/ode/ODEPhysics.o server/physics/BallJoint.o server/
physics/Body.o server/physics/BoxGeom.o server/physics/ContactParams.o server/ph
ysics/CylinderGeom.o server/physics/Geom.o server/physics/Hinge2Joint.o server/p
hysics/HingeJoint.o server/physics/Joint.o server/physics/PhysicsEngine.o server
/physics/PlaneGeom.o server/physics/SliderJoint.o server/physics/SphereGeom.o se
rver/physics/UniversalJoint.o server/physics/dCylinder.o server/physics/RayGeom.
o server/physics/TrimeshGeom.o server/rendering/OgreAdaptor.o server/rendering/O
greFrameListener.o server/rendering/OgreDynamicRenderable.o server/rendering/Ogr
eDynamicLines.o server/rendering/OgreSimpleShape.o server/rendering/OgreHUD.o se
rver/sensors/camera/CameraSensor.o server/sensors/camera/CameraManager.o server/
sensors/ray/RaySensor.o server/sensors/Sensor.o server/sensors/SensorFactory.o s
erver/controllers/position2d/pioneer2dx/Pioneer2dx_Position2d.o server/controlle
rs/position2d/truth/Truth_Position2d.o server/controllers/laser/sicklms200/SickL
MS200_Laser.o server/controllers/camera/generic/Generic_Camera.o server/controll
ers/factory/Factory.o server/controllers/Controller.o server/controllers/Control
lerFactory.o server/gui/fltk/FLTKGui.o server/gui/Gui.o server/gui/GuiFactory.o 
server/main.o server/Global.o server/Vector3.o server/Quatern.o server/Pose3d.o 
server/World.o server/XMLConfig.o server/Time.o server/Entity.o server/GazeboErr
or.o server/UpdateParams.o server/GazeboMessage.o server/Vector2.o server/Model.
o -Llibgazebo -L/usr/local/lib -L/usr/lib -lgazebo -lOgreMain -lxml2 -lode -lOIS
 /usr/lib/libfltk.a /usr/lib/libfltk_gl.a -lXft -lfreetype -lz -lfontconfig -lXr
ender -lX11
server/gui/fltk/FLTKGui.o: In function `gazebo::FLTKGui::OpenDisplay()':
server/gui/fltk/FLTKGui.cc:79: undefined reference to `glXChooseVisual'
collect2: ld returned 1 exit status
scons: *** [gazebo] Error 1
scons: building terminated because of errors.


cheers, Rich.

-- 
rich walker         |  Shadow Robot Company | [EMAIL PROTECTED]
technical director     251 Liverpool Road   |
need a Hand?           London  N1 1LX       | +UK 20 7700 2487
www.shadowrobot.com/hand/overview.shtml


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to