Hi,

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

> -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.

I got the same error message. After changing line 55 in SConstruct from

fltk-config --cflags --libs --use-gl --use-images 

to

fltk-config --cflags --ldflags --use-gl --use-images

it worked. The first version tries to link the static fltk library and the 
second version the dynamic one.

Cheers,
Armin

-------------------------------------------------------------------------
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