You need to recompile Bullet 2.75 with -DBT_USE_DOUBLE_PRECISION ( add to CMAKE_CXX_FLAGS is one way ) to get rid of this error.
Some of the functions in Bullet using btScalar were compiled into the library with floats and not doubles. -Scott On Wed, Jan 13, 2010 at 9:19 PM, brad17 <[email protected]> wrote: > > I now got a make error regarding bullet using revision 8504. I did a clean > make, then deleted the cmake cache, reconfigured and tried to make. > > I have bulletphysics 2-75 installed. I'll try to make without bullet and let > you know what happens > > Brad > > > [ 93%] Building CXX object server/CMakeFiles/gazebo-exec.dir/main.o > Linking CXX executable gazebo > physics/bullet/libgazebo_physics_bullet.so: undefined reference to > `btStaticPlaneShape::btStaticPlaneShape(btVector3 const&, double)' > physics/bullet/libgazebo_physics_bullet.so: undefined reference to > `btRigidBody::setMassProps(double, btVector3 const&)' > physics/bullet/libgazebo_physics_bullet.so: undefined reference to > `btRigidBody::setDamping(double, double)' > 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 > > > > > Nate Koenig wrote: >> >> Ahh, yes, thanks. I've removed the excessive BulltDynamics includes. >> >> -nate >> >> On Wed, Jan 13, 2010 at 9:47 AM, Luis Manso <[email protected]> wrote: >>> It seems your changes fixed the compiling problems but a small bug in >>> server/CMakeLists.txt:154. >>> >>> While I do not have it (and it does not seem to be necessary) it tries to >>> link to lBulletDynamics. It compiles with the attached patch. >>> >>> On Wed, Jan 13, 2010 at 6:19 PM, Nate Koenig <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> I've fixed a few things in the SVN version of gazebo. Could you try >>>> fetching this, and run either simpleshapes.world or pioneer2dx.world >>>> to start? >>>> >>>> Thanks, >>>> >>>> -nate >>>> >>>> On Mon, Jan 11, 2010 at 11:26 PM, brad17 <[email protected]> >>>> wrote: >>>> > >>>> > strange indeed. I get very different results on different world files: >>>> > * terrain opens up gazebo, but all i see is textured ground with a >>>> grid >>>> on >>>> > it >>>> > * pioneer2dx.world opens up gazebo, but the graphics are too strange >>>> to >>>> > describe well. I can tell that there is a robot, but I see a kind of >>>> > silhouete of it and a lot of white dots . >>>> > * bumper.world opens up and shows me a rendered robot >>>> > * simplecar and wizbot seg fault, differently to the one previously >>>> posted >>>> > as shown below >>>> > >>>> > any suggestions? >>>> > >>>> > (gdb) run simplecar.world >>>> > Starting program: /usr/local/bin/gazebo simplecar.world >>>> > [Thread debugging using libthread_db enabled] >>>> > 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. >>>> > >>>> > models/simplecar.model:18: namespace error : Namespace prefix >>>> controller >>>> on >>>> > steering_position2d is not defined >>>> > <controller:steering_position2d name="a car"> >>>> > ^ >>>> > models/simplecar.model:43: namespace error : Namespace prefix >>>> interface >>>> on >>>> > position is not defined >>>> > <interface:position name="position_iface_0"/> >>>> > ^ >>>> > [/usr/src/gazebo-svn/server/GazeboConfig.cc:103] >>>> > Gazebo Path[/usr/local/share/gazebo] >>>> > [/usr/src/gazebo-svn/server/GazeboConfig.cc:115] >>>> > Ogre Path[/usr/local/lib/OGRE] >>>> > [New Thread 0xb63e76c0 (LWP 17081)] >>>> > directory [/tmp/gazebo-bsaracik-0] already exists (previous crash?) >>>> > but the owner gazebo server (pid=17075) is not running. >>>> > deleting the old information of the directory [/tmp/gazebo-bsaracik-0] >>>> > [/usr/src/gazebo-svn/server/sensors/Sensor.cc:155] >>>> > cam1_sensor sensor has no controller. >>>> > >>>> > ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in >>>> > _dNormalize3() [../../../include/ode/odemath.h] >>>> > >>>> > Program received signal SIGABRT, Aborted. >>>> > [Switching to Thread 0xb63e76c0 (LWP 17081)] >>>> > 0xb7f49430 in __kernel_vsyscall () >>>> > >>>> > >>>> > >>>> > >>>> > (gdb) run wizbot.world >>>> > Starting program: /usr/local/bin/gazebo wizbot.world >>>> > [Thread debugging using libthread_db enabled] >>>> > 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. >>>> > >>>> > models/wizbot.model:19: namespace error : Namespace prefix controller >>>> on >>>> > holonome3sw_position2d is not defined >>>> > <controller:holonome3sw_position2d name="controller1"> >>>> > ^ >>>> > models/wizbot.model:37: namespace error : Namespace prefix interface >>>> on >>>> > position is not defined >>>> > <interface:position name="position_iface_0"/> >>>> > ^ >>>> > [/usr/src/gazebo-svn/server/GazeboConfig.cc:103] >>>> > Gazebo Path[/usr/local/share/gazebo] >>>> > [/usr/src/gazebo-svn/server/GazeboConfig.cc:115] >>>> > Ogre Path[/usr/local/lib/OGRE] >>>> > [New Thread 0xb65326c0 (LWP 16822)] >>>> > directory [/tmp/gazebo-bsaracik-0] already exists (previous crash?) >>>> > but the owner gazebo server (pid=16813) is not running. >>>> > deleting the old information of the directory [/tmp/gazebo-bsaracik-0] >>>> > [/usr/src/gazebo-svn/server/sensors/Sensor.cc:155] >>>> > laser_1 sensor has no controller. >>>> > Gazebo successfully initialized >>>> > [New Thread 0xb1a79b90 (LWP 16827)] >>>> > >>>> > Program received signal SIGSEGV, Segmentation fault. >>>> > [Switching to Thread 0xb65326c0 (LWP 16822)] >>>> > 0xb61b839f in ?? () from /usr/lib/dri/swrast_dri.so >>>> > (gdb) bt >>>> > #0 0xb61b839f in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #1 0xb61c5f42 in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #2 0xb61c3d81 in _swrast_write_rgba_span () from >>>> /usr/lib/dri/swrast_dri.so >>>> > #3 0xb61e0d4e in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #4 0xb61ddb51 in _swrast_add_spec_terms_triangle () from >>>> > /usr/lib/dri/swrast_dri.so >>>> > #5 0xb61b6eb0 in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #6 0xb61b60dd in _swrast_Triangle () from /usr/lib/dri/swrast_dri.so >>>> > #7 0xb61eef1e in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #8 0xb6188433 in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #9 0xb6188904 in _tnl_RenderClippedPolygon () from >>>> > /usr/lib/dri/swrast_dri.so >>>> > #10 0xb6182583 in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #11 0xb6186fba in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #12 0xb6188a58 in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #13 0xb617fd04 in _tnl_run_pipeline () from /usr/lib/dri/swrast_dri.so >>>> > #14 0xb6180275 in _tnl_draw_prims () from /usr/lib/dri/swrast_dri.so >>>> > #15 0xb61786df in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #16 0xb617896c in ?? () from /usr/lib/dri/swrast_dri.so >>>> > #17 0xb6365058 in Ogre::GLRenderSystem::_render (this=0xb6433f20, >>>> > o...@0xb7ea8b4c) >>>> > at OgreGLRenderSystem.cpp:2795 >>>> > #18 0xb7ce47f0 in Ogre::SceneManager::renderSingleObject >>>> (this=0xb6436d50, >>>> > rend=0xb6530188, >>>> > pass=0xb1a86af0, lightScissoringClipping=false, >>>> doLightIteration=false, >>>> > manualLightList=0xbfc6aa88) at OgreSceneManager.cpp:3328 >>>> > #19 0xb7cd802a in Ogre::SceneManager::renderShadowVolumeObjects >>>> > (this=0xb6436d50, >>>> > ---Type <return> to continue, or q <return> to quit--- >>>> > iShadowRenderables={mCurrent = {_M_current = 0xabc66b0}, mEnd = >>>> > {_M_current = 0xabc66b4}}, >>>> > pass=0xb1a86af0, manualLightList=0xbfc6aa88, flags=4, >>>> secondpass=false, >>>> > zfail=false, >>>> > twosided=true) at OgreSceneManager.cpp:5264 >>>> > #20 0xb7ce0aeb in Ogre::SceneManager::renderShadowVolumesToStencil >>>> > (this=0xb6436d50, >>>> > light=0xb5381fe0, camera=0xb52b9d40, calcScissor=true) at >>>> > OgreSceneManager.cpp:5206 >>>> > #21 0xb7cd9610 in >>>> > Ogre::SceneManager::renderModulativeStencilShadowedQueueGroupObjects ( >>>> > this=0xb6436d50, pGroup=0xb6491930, >>>> > om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP) >>>> > at OgreSceneManager.cpp:2292 >>>> > #22 0xb7cd89f2 in Ogre::SceneManager::_renderQueueGroupObjects >>>> > (this=0xb6436d50, >>>> > pGroup=0xb6491930, >>>> om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP) >>>> > at OgreSceneManager.cpp:2806 >>>> > #23 0xb7cd9955 in >>>> Ogre::SceneManager::renderVisibleObjectsDefaultSequence >>>> > (this=0xb6436d50) >>>> > at OgreSceneManager.cpp:2136 >>>> > #24 0xb7cd9aef in Ogre::SceneManager::_renderVisibleObjects >>>> > (this=0xb6436d50) >>>> > at OgreSceneManager.cpp:2058 >>>> > #25 0xb60485ed in Ogre::TerrainSceneManager::_renderVisibleObjects >>>> > (this=0xb6436d50) >>>> > at OgreTerrainSceneManager.cpp:506 >>>> > #26 0xb7cda1a3 in Ogre::SceneManager::_renderScene (this=0xb6436d50, >>>> > camera=0xb52b9d40, >>>> > vp=0xb647da10, includeOverlays=true) at OgreSceneManager.cpp:1368 >>>> > #27 0xb6048726 in Ogre::TerrainSceneManager::_renderScene >>>> (this=0xb6436d50, >>>> > cam=0xb52b9d40, >>>> > vp=0xb647da10, includeOverlays=<value optimized out>) at >>>> > OgreTerrainSceneManager.cpp:486 >>>> > #28 0xb7b3d38e in Ogre::Camera::_renderScene (this=0xb52b9d40, >>>> > vp=0xb647da10, >>>> > includeOverlays=<value optimized out>) at OgreCamera.cpp:403 >>>> > ---Type <return> to continue, or q <return> to quit--- >>>> > #29 0xb7dae4f0 in Ogre::Viewport::update (this=0xb5a0a010) at >>>> > OgreViewport.cpp:191 >>>> > #30 0xb7cad6fd in Ogre::RenderTarget::updateImpl (this=0xb64350a8) at >>>> > OgreRenderTarget.cpp:113 >>>> > #31 0xb7cad04c in Ogre::RenderTarget::update (this=0xb64350a8, >>>> swap=true) >>>> > at OgreRenderTarget.cpp:501 >>>> > #32 0xb782595b in gazebo::UserCamera::Update () from >>>> > /usr/local/lib/libgazebo_rendering.so >>>> > #33 0xb77f80a0 in gazebo::OgreAdaptor::UpdateCameras () >>>> > from /usr/local/lib/libgazebo_rendering.so >>>> > #34 0xb803cf66 in gazebo::Simulator::MainLoop () from >>>> > /usr/local/lib/libgazebo_server.so.0.9.0 >>>> > #35 0x0804a427 in main () >>>> > >>>> > -- >>>> > View this message in context: >>>> http://old.nabble.com/New-install-%3A-segmentation-fault-test.world-tp27122530p27123579.html >>>> > Sent from the playerstage-gazebo mailing list archive at Nabble.com. >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ >>>> > This SF.Net email is sponsored by the Verizon Developer Community >>>> > Take advantage of Verizon's best-in-class app development support >>>> > A streamlined, 14 day to market process makes app distribution fast >>>> and >>>> easy >>>> > Join now and get one step closer to millions of Verizon customers >>>> > http://p.sf.net/sfu/verizon-dev2dev >>>> > _______________________________________________ >>>> > Playerstage-gazebo mailing list >>>> > [email protected] >>>> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >>>> > >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.Net email is sponsored by the Verizon Developer Community >>>> Take advantage of Verizon's best-in-class app development support >>>> A streamlined, 14 day to market process makes app distribution fast and >>>> easy >>>> Join now and get one step closer to millions of Verizon customers >>>> http://p.sf.net/sfu/verizon-dev2dev >>>> _______________________________________________ >>>> Playerstage-gazebo mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >>>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.Net email is sponsored by the Verizon Developer Community >>> Take advantage of Verizon's best-in-class app development support >>> A streamlined, 14 day to market process makes app distribution fast and >>> easy >>> Join now and get one step closer to millions of Verizon customers >>> http://p.sf.net/sfu/verizon-dev2dev >>> _______________________________________________ >>> Playerstage-gazebo mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >>> >>> >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Playerstage-gazebo mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >> >> > > -- > View this message in context: > http://old.nabble.com/New-install-%3A-segmentation-fault-test.world-tp27122530p27155467.html > Sent from the playerstage-gazebo mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
