Hello,

Well, I haven't seen this problem before.

Could you try making the following change:

In <gazebo_sources>/server/gui/CMakeLists.txt

Modify:
target_link_libraries(gazebo_gui ${FLTK_LIBRARIES} Xpm)

To be:
target_link_libraries(gazebo_gui ${FLTK_LIBRARIES} Xpm Xinerama)

re-run cmake and make.

-nate


On Sat, Oct 30, 2010 at 8:43 AM, mizo_hazem_2 <eng.hossa...@gmail.com> wrote:
>
> Hi,
>
> I got the following error while trying to build gazebo
>
> [ 89%] Built target gazeboshm
> [ 89%] Built target gazebo_physics
> [ 89%] Built target gazebo_rendering
> [ 89%] Built target gazebo_physics_bullet
> [ 89%] Built target gazebo_physics_ode
> [ 89%] Built target gazebo_server
> [ 89%] Built target gazebo_gui
> [ 89%] Built target gazebo_av-shared
> Linking CXX executable gazebo
> gui/libgazebo_gui.so.0.10.0: undefined reference to `XineramaQueryScreens'
> gui/libgazebo_gui.so.0.10.0: undefined reference to `XineramaIsActive'
> collect2: ld returned 1 exit status
> make[2]: *** [server/gazebo] Error 1
> make[1]: *** [server/CMakeFiles/gazebo-exec.dir/all] Error 2
> make: *** [all] Error 2
>
> I searched for this error, but I have not find any solution
>
> Note:
> libxinerama-dev and libxxf86vm-dev are already installed
>
> helkh...@helkheer:/usr/lib$ ls | grep Xiner
> libXinerama.a
> libXinerama.so
> libXinerama.so.1
> libXinerama.so.1.0.0
>
> Is there anyone who can helping me solving this problem
>
> thanks in advance
> --
> View this message in context: 
> http://old.nabble.com/gazebo-compilation-problem-%28gui-libgazebo_gui.so.0.10.0%3A-undefined-reference-to-%60XineramaIsActive%27%29-tp30079637p30079637.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to