Hello,

Do you have GLX and direct rendering enabled?

Can you provided a backtrace?

The lastest SVN version of Gazebo works with the latest version of OGRE and ODE.

-nate

On Sun, Sep 27, 2009 at 10:55 AM,  <[email protected]> wrote:
> Hello,
>
> I posted another message about the problem, but I think it was not detailed.
> I can't run the gazebo executable with 3d rendering engine enabled.
>
> Here is my cmake output before compilation:
>
> ---
>
> -- Gazebo version 0.9.0
> -- ====== Finding 3rd Party Packages ======
> -- Operating system is Linux
> -- checking for module 'freeimage>=3.10.0'
> --   package 'freeimage>=3.10.0' not found
> --   freeimage.pc not found, trying freeimage_include_dir and
> freeimage_library_dir flags.
> --   Looking for FreeImage.h - found
> --   Looking for libfreeimage - found
> -- checking for module 'OGRE>=1.6.1'
> --   found OGRE, version 1.6.1
> -- checking for module 'playerc++>=2.1'
> --   package 'playerc++>=2.1' not found
> -- Warning: Player not found. The gazebo plugin for player will not be
> built. See the following website: http://playerstage.sourceforge.net
> -- checking for module 'websim'
> --   package 'websim' not found
> -- Warning: Websim not found. Webgazebo will not be built
> -- Boost Include Path: /usr/include
> -- Boost Library Path: /usr/lib
> -- Boost Libraries:
> ;/usr/lib/libboost_thread-mt.so;/usr/lib/libboost_signals-mt.so
> -- Looking for avformat.h - found
> -- Looking for avcodec.h - found
> -- Looking for event.h - not found
> --   Warning: webgazebo will not be built
> -- Looking for ltdl.h - found
> -- Looking for libltdl - found
> -- ----------------------------------------
> -- Cmake C Flags:
> -- Build Type: RELEASE
> -- Install path: /usr/local
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/mert/gazebo/playerstage/code/gazebo/trunk/cmake
>
> ---
>
> The compilation of gazebo finishes without any errors.
>
> If I run the gazebo without ogre (rendering engine), the output is as below:
>
> --
>
> m...@mert-netbook:~/gazebo/playerstage/code/gazebo/trunk$ gazebo -r
> worlds/pioneer2dx.world
> Gazebo multi-robot simulator, version 0.9.0
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:103]
>   Gazebo Path[/usr/local/share/gazebo]
> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:115]
>   Ogre Path[/usr/local/lib/OGRE]
> creating /tmp/gazebo-mert-0
> creating /tmp/gazebo-mert-0/simulation.default 112 33842332
> creating /tmp/gazebo-mert-0/factory.default 112 410188
> creating /tmp/gazebo-mert-0/graphics3d.default 112 1630256
> creating /tmp/gazebo-mert-0/graphics3d.plane1_model 112 1630256
> creating /tmp/gazebo-mert-0/graphics3d.sphere1_model 112 1630256
> creating
> /tmp/gazebo-mert-0/position.pioneer2dx_model1::position_iface_0 112 156
> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model1 112 1630256
> creating
> /tmp/gazebo-mert-0/laser.pioneer2dx_model1::laser::laser_iface_0 112
> 8352
> creating
> /tmp/gazebo-mert-0/fiducial.pioneer2dx_model1::laser::fiducial_iface_0
> 112 11308
> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model1::laser 112 1630256
> creating
> /tmp/gazebo-mert-0/position.pioneer2dx_model2::position_iface_0 112 156
> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model2 112 1630256
> creating
> /tmp/gazebo-mert-0/laser.pioneer2dx_model2::laser::laser_iface_0 112
> 8352
> creating
> /tmp/gazebo-mert-0/fiducial.pioneer2dx_model2::laser::fiducial_iface_0
> 112 11308
> creating /tmp/gazebo-mert-0/graphics3d.pioneer2dx_model2::laser 112 1630256
> creating /tmp/gazebo-mert-0/graphics3d.box1_model 112 1630256
> creating /tmp/gazebo-mert-0/graphics3d.directional_white 112 1630256
> creating /tmp/gazebo-mert-0/graphics3d.point_white 112 1630256
> Gazebo successfully initialized
>
> ---
>
> Here is the console output when I'm trying to run the executable with
> the 3d engine enabled:
>
> ---
>
> m...@mert-netbook:~/gazebo/playerstage/code/gazebo/trunk$ gazebo
> worlds/pioneer2dx.world
> Gazebo multi-robot simulator, version 0.9.0
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:103]
>   Gazebo Path[/usr/local/share/gazebo]
> [/home/mert/gazebo/playerstage/code/gazebo/trunk/server/GazeboConfig.cc:115]
>   Ogre Path[/usr/local/lib/OGRE]
> get fences failed: -1
> param: 6, val: 0
> get fences failed: -1
> param: 6, val: 0
> Segmentation fault
>
> ---
>
> I tried both the OGRE 1.6.1 and 1.6.2 versions, but the problem is the
> same. Am I missing something? What can be the source of the problem
> (segmentation fault) and how can I trace the error?
>
> In addition, can one of the developers give a working version number
> of gazebo  including 3rd party library version numbers?
>
> Thank you for answers.
>
> Regards,
> Mert TURANLI
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to