This is something peculiar i discovered. Following errors are because of
function signature mismatch. OGRE1.6.1, which is the minimum requirement for
gazebo-0.9.0 has different signature for all these functions. All float are
replaced with Real. For example


> ni...@debian6:~/installations/ogre-1.6.1/installed/include/OGRE$ grep -r
> getCameraToViewportRay .
> ./OgreCamera.h:        Ray getCameraToViewportRay(Real screenx, Real
> screeny) const;
> ./OgreCamera.h:        void getCameraToViewportRay(Real screenx, Real
> screeny, Ray* outRay) const;
> 
but gazebo looks for


> libgazebo_server.so.0.9.0: undefined reference to
> `Ogre::Camera::getCameraToViewportRay(float, float) const'
> 
In fact Real is in stand place for float or double depending on whether we
specify double precision or not. In OgrePrerequisite.h


>     // define the real number values to be used
>     // default to use 'float' unless precompiler option set
>     #if OGRE_DOUBLE_PRECISION == 1
>               /** Software floating point type.
>               @note Not valid as a pointer to GPU buffers / parameters
>               */
>         typedef double Real;
>     #else
>               /** Software floating point type.
>               @note Not valid as a pointer to GPU buffers / parameters
>               */
>         typedef float Real;
>     #endif
> 

Does this means " gazebo do not works with double precision"?

How do other users succeded in installations. 
It will be really appereciable if they can share working configuration with
me.

Following is the configuration detected by cmake on my machin


> -- 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.9.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
> -- checking for module 'ode>=0.10.1'
> --   found ode, version 0.11
> -- checking for module 'freeimage>=3.10.0'
> --   package 'freeimage>=3.10.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.1'
> --   found OGRE, version 1.6.1
> -- checking for module 'libxml-2.0'
> --   found libxml-2.0, version 2.6.32
> -- checking for module 'xft'
> --   found xft, version 2.1.12
> -- checking for module 'openal'
> --   found openal, version 1.3.253
> -- checking for module 'libavformat'
> --   found libavformat, version 52.7.0
> -- checking for module 'libavcodec'
> --   found libavcodec, version 51.50.0
> -- checking for module 'playerc++>=2.1'
> --   found playerc++, version 3.0.0-rc2
> -- checking for module 'websim'
> --   package 'websim' not found
> -- Warning: Websim not found. Webgazebo will not be built
> -- Boost version: 1.35.0
> -- Found the following Boost libraries:
> -- Boost version: 1.35.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
> -- 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
> 

rgds
nitin

-- 
View this message in context: 
http://www.nabble.com/installation-of-gazebo0.9.0-tp25269512p25359287.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to