Hi Ugo,

Did you try recompiling bullet with -DBT_USE_DOUBLE_PRECISION set?

See 
http://www.mail-archive.com/[email protected]/msg02223.html.

To check if this is the problem you can run:

nm --dynamic --demangle /usr/local/lib/libBulletCollision.so | grep
"btStaticPlaneShape("

If the constructor is set to float and not double, recompiling bullet
with double precision should fix it.  This looks like a bullet bug.
The btRigidBody symbols are in libBulletDynamics.so if you want to
check those as well.

-Scott

On Wed, Jan 27, 2010 at 12:54 PM, Ugo Cupcic <[email protected]> wrote:
> Hi,
>
> Thanks for your answer, but it's still not working.
>
> I checked that the .so are there.
>
> Here is the content of my ccmake for the bullet libs:
>  bullet_cflags                    -DBT_USE_DOUBLE_PRECISION -
> DBT_EULER_DEFAULT_ZYX
>  bullet_collision_dirs            /usr/local/include/BulletCollision
>  bullet_collision_library         /usr/local/lib/libBulletCollision.so
>  bullet_dynamics_dirs             /usr/local/include/BulletDynamics
>  bullet_dynamics_library          /usr/local/lib/libBulletDynamics.so
>  bullet_include_dir               /usr/local/include
>  bullet_math_dirs                 /usr/local/include/LinearMath
>  bullet_math_library              /usr/local/lib/libLinearMath.so
>  bullet_softbody_dirs             /usr/local/include/BulletSoftBody
>  bullet_softbody_library          /usr/local/lib/libBulletSoftBody.so
>
> Am I doing something wrong ?
>
> Cheers,
>
> Ugo
>
>
>
>>------------------------------
>>
>>Hi,
>>Looks like Gazebo did not find bullet libraries during linking.  Make sure
>>libBulletCollision.so
>>libBulletDynamics.so
>>libLinearMath.so
>>libBulletSoftBody.so
>>exists and the variables
>>   - 'bullet_library_dirs' contains list of path(s) to the bullet libraries,
>>and
>>   - 'bullet_libraries' contains all the necessary linker flags
>>John
>>
>>On Wed, Jan 27, 2010 at 4:04 AM, Ugo Cupcic <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to install the new gazebo 0.10.0 (I already have the 0.9 working
>>> on
>>> my computer under ubuntu 9.10), but I got those errors at 93% while running
>>> make. Any idea ?
>>>
>>> [ 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
>>>
>>>
>>> Cheers,
>>>
>>> Ugo
>>>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to