Hi, Thanks you very much John... Finally, I can solved the problem of the detection of double precision bullet compilation. It was an error in an include file in the bullet instalation. I found this error in CMakeFiles/CMakeError.log. The error was that it can not find a hearder file of bullet because the installation create a directory /usr/local/include/bullet and the bt*Common.h files search the headers files in /user/local/include (without bullet/). But... now I have a problem with the compilation (make) of gazebo it gives
Linking CXX shared library libgazebo.so /usr/bin/ld: cannot find -lprofiler collect2: ld returned 1 exit status make[2]: *** [libgazebo/libgazebo.so.0.10.0] Error 1 make[1]: *** [libgazebo/CMakeFiles/gazeboshm.dir/all] Error 2 make: *** [all] Error 2 someone know this error? Thanks you very much 2010/12/21 John Hsu <[email protected]> > Hi Gonzalo, > Sorry I forgot to clarify, the makefile file I attached is tightly > integrated with ros, it is not going to work for you as is, I only wanted > to > show you the compiler flags we used. > > Can you post build/CMakeFiles/CMakeOutput.log as well? > thanks, > John > > On Tue, Dec 21, 2010 at 12:55 PM, Gonzalo Fernando Perez Paina < > [email protected]> wrote: > > > Hi, > > Thanks John Hsu and Rich Mattes for your help. > > John, the attached Makefile (Makefile.bullet) gives me an error trying to > > find rospack. > > And your own bullet tarball gives an error in the compilation. > > I do not be sure that the error is in bullet compilation, I compile the > svn > > rev2243 without errors and the command > > nm --dynamic --demangle /usr/local/lib/ > > > > gives > > 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() > > > > it appear that it was compile with double precision. > > But the problem is that gazebo cmake gives > > > > -- Performing Test BULLET_DOUBLE_PRECISION > > -- Performing Test BULLET_DOUBLE_PRECISION - Failed > > -- Dependency: bullet was not compiled to use double precision. > > > > Rich, I set the variable USE_DOUBLE_PRECISION to ON in ccmake gui, and > the > > bullet library compile ok. > > I don't know how the gazebo CMakeLists.txt checks if the bullet library > was > > compile with double precision, may be it have a bug. > > Anyone have any similar error? > > > > tanks you very much > > > > > > 2010/12/20 John Hsu <[email protected]> > > > > > Here's the makefile we use: > > > > > > > > > https://code.ros.org/svn/ros-pkg/stacks/geometry/tags/cturtle/bullet/Makefile.bullet > > > John > > > > > > On Mon, Dec 20, 2010 at 4:37 PM, Rich Mattes <[email protected]> wrote: > > > > > > > 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<[email protected]> > > > > > > > > > >> 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< > > > > >> [email protected]> 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 > > > > >>> [email protected] > > > > >>> > > > > >>> > > > > >> > > > > > > > > > > ------------------------------------------------------------------------------ > > > > >>> 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 > > > > >>> [email protected] > > > > >>> 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 > > > > >> [email protected] > > > > >> 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 > > > > [email protected] > > > > 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 > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > > > > > > > > -- > > 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 > > [email protected] > > > > > ------------------------------------------------------------------------------ > > Forrester recently released a report on the Return on Investment (ROI) of > > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even > > within 7 months. Over 3 million businesses have gone Google with Google > > Apps: > > an online email calendar, and document program that's accessible from > your > > browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew > > _______________________________________________ > > Playerstage-gazebo mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > ------------------------------------------------------------------------------ > Forrester recently released a report on the Return on Investment (ROI) of > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even > within 7 months. Over 3 million businesses have gone Google with Google > Apps: > an online email calendar, and document program that's accessible from your > browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > -- 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 [email protected] ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
