Hi John I deleted CMakeCache.txt. Here is the cmake and make outputs.
Thanks Albert cmake .. -- 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 -- 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 -- Found FLTK: fltk_images;fltk_forms;fltk_gl;/usr/lib/libGL.so;fltk -- checking for module 'ode>=0.10.1' -- package 'ode>=0.10.1' not found -- ode-config reports version 0.11 -- -DdDOUBLE used to compile against the ODE library -- 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 -- checking for module 'OGRE>=1.6.3' -- found OGRE, version 1.7.0 -- checking for module 'libxml-2.0' -- found libxml-2.0, version 2.7.5 -- checking for module 'xft' -- found xft, version 2.1.13 -- checking for module 'openal' -- package 'openal' not found -- Warning: Openal and development files not found. Audio capabilities will be disabled. See the following website: http://connect.creativelabs.com/openal/default.aspx -- checking for module 'libavformat' -- found libavformat, version 52.31.0 -- checking for module 'libavcodec' -- found libavcodec, version 52.20.0 -- checking for module 'playercore>=3.0' -- found playercore, version 3.0.2 -- checking for module 'websim' -- package 'websim' not found -- Warning: Websim not found. Webgazebo will not be built -- Boost version: 1.38.0 -- Found the following Boost libraries: -- Boost version: 1.38.0 -- Found the following Boost libraries: -- thread -- signals -- Boost Include Path: /usr/include -- Boost Library Path: /usr/lib -- Boost Libraries: ;/usr/lib/libboost_thread-mt.so;/usr/lib/libboost_signals-mt.so -- Threadpool Include Path: -- 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 -- Looking for dlfcn.h - found -- Looking for libdl - found -- Looking for assimp.hpp - not found. Using built in version. -- Looking for libassimp - found -- Looking for btBulletDynamicsCommon.h - found -- Looking for bullet libraries - found -- ---------------------------------------- -- Cmake C Flags: -- Build Type: RELEASE -- Install path: /usr/local -- Configuration successful. Type make to compile gazebo -- Configuring done -- Generating done -- Build files have been written to: /home/albert/Desktop/gazebo-0.10.0/build make [ 40%] Built target assimp [ 40%] Built target gazeboshm [ 40%] Building CXX object server/physics/CMakeFiles/gazebo_physics.dir/Body.o /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc: In constructor 'gazebo::Body::Body(gazebo::Entity*)': /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:58: error: 'class gazebo::Body' has no member named 'type' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:58: error: 'BODY' is not a member of 'gazebo::Entity' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:94: error: 'class gazebo::ParamT<bool>' has no member named 'SetHelp' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc: In member function 'virtual void gazebo::Body::Init()': /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:388: error: 'class gazebo::OgreVisual' has no member named 'AttachAxes' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc: In member function 'gazebo::Vector3 gazebo::Body::GetRelativeLinearVel() const': /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:567: error: 'const class gazebo::Body' has no member named 'GetWorldPose' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:567: error: 'const class gazebo::Body' has no member named 'GetWorldLinearVel' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc: In member function 'gazebo::Vector3 gazebo::Body::GetRelativeAngularVel() const': /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:574: error: 'const class gazebo::Body' has no member named 'GetWorldPose' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:574: error: 'const class gazebo::Body' has no member named 'GetWorldAngularVel' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc: In member function 'gazebo::Vector3 gazebo::Body::GetRelativeForce() const': /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:609: error: 'const class gazebo::Body' has no member named 'GetWorldPose' /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc: In member function 'gazebo::Vector3 gazebo::Body::GetRelativeTorque() const': /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:616: error: 'const class gazebo::Body' has no member named 'GetWorldPose' make[2]: *** [server/physics/CMakeFiles/gazebo_physics.dir/Body.o] Error 1 make[1]: *** [server/physics/CMakeFiles/gazebo_physics.dir/all] Error 2 make: *** [all] Error 2 alb...@albert-desktop:~/Desktop/gazebo-0.10.0/build$ > -----Original Message----- > From: John Hsu [mailto:john...@willowgarage.com] > Sent: 19 July 2010 08:11 PM > To: Gazebo developers and users > Subject: Re: [PlayerStage-Gazebo] Gezebo install make error > > Hi, > >From the logs it looks like ogre might not be installed or its paths > passed > to gazebo correctly: > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:30:18: > > error: Ogre.h: No such file or directory > > > can you remove CMakeCache.txt, rerun cmake and post the output? > thanks, > John > > > On Tue, Jul 13, 2010 at 2:13 PM, Smit, A, Mnr <allas...@sun.ac.za> < > allas...@sun.ac.za> wrote: > > > Hi. > > I am struggling to install gazebo for a week now. I sorted out most > of the > > dependencies but this one last error I can't figure out. The cmake > has no > > errors but the make gives this: > > make[2]: *** [server/physics/CMakeFiles/gazebo_physics.dir/Body.o] > Error 1 > > make[1]: *** [server/physics/CMakeFiles/gazebo_physics.dir/all] Error > 2 > > I saw a similar error in the mailing list. One said something about > > getTotalForce(), other one said SVN or install assimp. None of that > solved > > my problem. Please help me. > > Thanks > > Below is all my output. > > > > > > alb...@albert-desktop:~/Desktop/gazebo-0.10.0/build$<mailto: > > alb...@albert-desktop:~/Desktop/gazebo-0.10.0/build$> cmake .. > > -- Gazebo version 0.10.0 > > -- > > ====== Finding 3rd Party Packages ====== > > -- Operating system is Linux > > -- checking for module 'ode>=0.10.1' > > -- package 'ode>=0.10.1' not found > > -- ode-config reports version 0.11 > > -- -DdDOUBLE used to compile against the ODE library > > -- 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 > > -- checking for module 'openal' > > -- package 'openal' not found > > -- Warning: Openal and development files not found. Audio > capabilities will > > be disabled. See the following website: > > http://connect.creativelabs.com/openal/default.aspx > > -- 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 > > -- Threadpool Include Path: > > -- 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 > > -- Looking for dlfcn.h - found > > -- Looking for libdl - found > > -- Looking for assimp.hpp - not found. Using built in version. > > -- Looking for libassimp - found > > -- Looking for btBulletDynamicsCommon.h - found > > -- Looking for bullet libraries - found > > -- ---------------------------------------- > > -- Cmake C Flags: > > -- Build Type: RELEASE > > -- Install path: /usr/local > > -- Configuration successful. Type make to compile gazebo > > -- Configuring done > > -- Generating done > > -- Build files have been written to: > > /home/albert/Desktop/gazebo-0.10.0/build > > > > alb...@albert-desktop:~/Desktop/gazebo-0.10.0/build$<mailto: > > alb...@albert-desktop:~/Desktop/gazebo-0.10.0/build$> make > > [ 39%] Built target assimp > > [ 39%] Built target gazeboshm > > [ 39%] Building CXX object > > server/physics/CMakeFiles/gazebo_physics.dir/Body.o > > In file included from > > /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:36: > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:30:18: > > error: Ogre.h: No such file or directory > > In file included from > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreCreator.hh:34, > > from > > /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:37: > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreDynamicRenderable.hh:4:34: > > error: OgreSimpleRenderable.h: No such file or directory > > In file included from > > /home/albert/Desktop/gazebo-0.10.0/server/physics/Body.cc:36: > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:51: > > error: 'Ogre' has not been declared > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:51: > > error: expected '{' before 'Any' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:52: > > error: invalid type in declaration before '{' token > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:52: > > warning: extended initializer lists only available with -std=c++0x or > > -std=gnu++0x > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:54: > > error: expected primary-expression before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:54: > > error: expected '}' before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:54: > > error: expected ',' or ';' before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:57: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:60: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:63: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:66: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:69: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:72: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:75: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:78: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:81: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:84: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:87: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:90: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:93: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:96: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo-0.10.0/server/rendering/OgreVisual.hh:99: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:102: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:107: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:110: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:113: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:116: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:119: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:122: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:125: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:128: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:131: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:134: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:137: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:140: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:144: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:148: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:150: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:151: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:152: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:155: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:158: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:161: > > error: expected unqualified-id before 'public' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:163: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:164: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:165: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:167: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:168: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:169: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:171: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:173: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:175: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:177: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:178: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:179: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:180: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:181: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:182: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:183: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:184: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:186: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:188: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:189: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:190: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:192: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:193: > > error: expected unqualified-id before 'private' > > /home/albert/Desktop/gazebo- > 0.10.0/server/rendering/OgreVisual.hh:195: > > error: expected declaration before '}' token > > make[2]: *** [server/physics/CMakeFiles/gazebo_physics.dir/Body.o] > Error 1 > > make[1]: *** [server/physics/CMakeFiles/gazebo_physics.dir/all] Error > 2 > > make: *** [all] Error 2 > > > > --------------------------------------------------------------------- > --------- > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > Playerstage-gazebo mailing list > > Playerstage-gazebo@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > ----------------------------------------------------------------------- > ------- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Playerstage-gazebo mailing list > Playerstage-gazebo@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Playerstage-gazebo mailing list Playerstage-gazebo@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo