Which CMake options did you use when you compiled bullet?  The most 
recent versions have a CMake option called "USE_DOUBLE_PRECISION", which 
is different from setting the -DBT_USE_DOUBLE_PRECISION preprocessor 
definition.

Rich

On 12/20/2010 5:52 PM, Gonzalo Fernando Perez Paina wrote:
> Hi John,
> sorry, I forgot to tell you that I could not compile gazebo because the
> cmake does not generate the Makefile. cmake does not detect that bullet was
> compiled with double precision.
> I don't know it is an error in the bullet compilation or a bug in
> CMakeLists.txt of gazebo.
> I will try the bullet patch.
> Thanks you very much
>
> 2010/12/20 John Hsu<john...@willowgarage.com>
>
>> Hi,
>>
>> You might be able to see more detail in your build directory:
>> build/CMakeFiles/CMakeOutput.log and see what the exact compile error was.
>>
>> As a data point, we have been compiling against our own patched tarball of
>> 2.76<http://pr.willowgarage.com/downloads/bullet-2.76-patched2.tar.gz
>>> successfully.
>> John
>>
>>
>> On Mon, Dec 20, 2010 at 12:47 PM, Gonzalo Fernando Perez Paina<
>> gfperezpa...@gmail.com>  wrote:
>>
>>> Hello,
>>> I am trying to compile gazebo svn rev.8970, and I am having some
>> problems.
>>> I
>>> installed all the dependencies
>>> - ODE 0.11.1 (from debian repository)
>>> - OGRE 1.7.2 (from source code)
>>> - BULLET svn rev.2243
>>> I am on debian squeeze/sid kernel 2.6.32-5-amd64. I compile the BULLET
>> with
>>> double precision, but the cmake gives me the following
>>>
>>> -- The C compiler identification is GNU
>>> -- The CXX compiler identification is GNU
>>> -- Check for working C compiler: /usr/bin/gcc
>>> -- Check for working C compiler: /usr/bin/gcc -- works
>>> -- Detecting C compiler ABI info
>>> -- Detecting C compiler ABI info - done
>>> -- Check for working CXX compiler: /usr/bin/c++
>>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>>> -- Detecting CXX compiler ABI info
>>> -- Detecting CXX compiler ABI info - done
>>> -- Gazebo version 0.10.0
>>> --
>>>
>>> ====== Finding 3rd Party Packages ======
>>> -- Operating system is Linux
>>> -- Found wxWidgets: TRUE
>>> -- checking for module 'freeimage>=3.9.0'
>>> --   package 'freeimage>=3.9.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
>>> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
>>> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
>>> found
>>> -- Looking for gethostbyname
>>> -- Looking for gethostbyname - found
>>> -- Looking for connect
>>> -- Looking for connect - found
>>> -- Looking for remove
>>> -- Looking for remove - found
>>> -- Looking for shmat
>>> -- Looking for shmat - found
>>> -- Looking for IceConnectionNumber in ICE
>>> -- Looking for IceConnectionNumber in ICE - found
>>> -- Found X11: /usr/lib/libX11.so
>>> -- checking for module 'tbb'
>>> --   found tbb, version 3.0+r018
>>> -- checking for module 'ode>=0.10.1'
>>> --   found ode, version 0.11.1
>>> -- checking for module 'OGRE-RTShaderSystem>=1.6.3'
>>> --   found OGRE-RTShaderSystem, version 1.7.2
>>> -- checking for module 'gtk+-2.0'
>>> --   found gtk+-2.0, version 2.20.1
>>> -- checking for module 'libxml-2.0'
>>> --   found libxml-2.0, version 2.7.8
>>> -- checking for module 'xpm'
>>> --   found xpm, version 3.5.8
>>> -- checking for module 'openal'
>>> --   found openal, version 1.12.854
>>> -- checking for module 'libavformat'
>>> --   found libavformat, version 52.87.1
>>> -- checking for module 'libavcodec'
>>> --   found libavcodec, version 52.97.2
>>> -- checking for module 'playercore>=3.0'
>>> --   found playercore, version 3.0.2
>>> -- checking for module 'websim'
>>> --   package 'websim' not found
>>> --     Websim not found. Webgazebo will not be built
>>> -- Boost version: 1.42.0
>>> -- Boost version: 1.42.0
>>> -- Found the following Boost libraries:
>>> --   thread
>>> --   signals
>>> --   regex
>>> -- Looking for avformat.h - found
>>> -- Looking for avcodec.h - found
>>> -- Looking for event.h - not found
>>> --     event.h not found. webgazebo will not be built
>>> -- Looking for ltdl.h - found
>>> -- Looking for libltdl - found
>>> -- Looking for yaml.h - found
>>> -- Looking for libyaml - found
>>> -- Looking for dlfcn.h - found
>>> -- Looking for libdl - found
>>> -- Looking for assimp/assimp.hpp - not found.
>>> --     Missing: Assimp(http://assimp.sourceforge.net)
>>> -- Looking for btBulletDynamicsCommon.h - found
>>> -- Looking for libBulletDynamics - found
>>> -- Looking for libBulletCollision - found
>>> -- Looking for libLinearMath - found
>>> -- Looking for libBulletSoftBody - found
>>> -- Performing Test BULLET_DOUBLE_PRECISION
>>> -- Performing Test BULLET_DOUBLE_PRECISION - Failed
>>> --     Dependency: bullet was not compiled to use double precision.
>>> -- ----------------------------------------
>>>
>>> -- BUILD WARNINGS
>>> --     Websim not found. Webgazebo will not be built
>>> --     event.h not found. webgazebo will not be built
>>> -- END BUILD WARNINGS
>>>
>>> -- BUILD ERRORS: These must be resolved before compiling.
>>> --     Missing: Assimp(http://assimp.sourceforge.net)
>>> --     Dependency: bullet was not compiled to use double precision.
>>> -- END BUILD ERRORS
>>>
>>> -- Configuring done
>>> -- Generating done
>>> -- Build files have been written to:
>>> /home/gfpp/software/psg/gazebo_r8970/build
>>>
>>>
>>> Checking if the bullet library was compiled with double precision, I get
>>>
>>> nm --dynamic --demangle /usr/local/lib/libBulletCollision.so | grep
>>> "btStaticPlaneShape("
>>> 00000000000a6cc0 T btStaticPlaneShape::btStaticPlaneShape(btVector3
>> const&,
>>> double)
>>> 00000000000a6d80 T btStaticPlaneShape::btStaticPlaneShape(btVector3
>> const&,
>>> double)
>>> 00000000000a6ca0 T btStaticPlaneShape::~btStaticPlaneShape()
>>> 00000000000a6c60 T btStaticPlaneShape::~btStaticPlaneShape()
>>> 00000000000a6c80 T btStaticPlaneShape::~btStaticPlaneShape()
>>>
>>> but cmake says that not. Can some help me with this? What could be wrong?
>>> Thanks in advance.
>>> Gonzalo
>>>
>>> --
>>> Gonzalo F. Perez Paina
>>> Centro de Investigación en Informática para la Ingeniería, CIII.
>>> Universidad Tecnológica Nacional. Facultad Regional Córdoba.
>>> Maestro M. López esq. Cruz Roja Argentina. CP X5016ZAA
>>> gpe...@scdt.frc.utn.edu.ar
>>>
>>>
>> ------------------------------------------------------------------------------
>>> Lotusphere 2011
>>> Register now for Lotusphere 2011 and learn how
>>> to connect the dots, take your collaborative environment
>>> to the next level, and enter the era of Social Business.
>>> http://p.sf.net/sfu/lotusphere-d2d
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> Playerstage-gazebo@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social Business.
>> http://p.sf.net/sfu/lotusphere-d2d
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>
>


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to