Defintion of REAL is governed by a run time flag, depending on which it is 'double' ot 'float'. This is not the problem. Problem is because cmake is not able to provide proper paths for header files. I appended path in CPATH variable and re-exported on command line. Someone conversant with CMake shall be able to rectify it in more elegant manner. Before that, I installed all dependencines using synaptic( read Debain). It compile well after that. But if i try sample OGRE codes i gets exceptions like for BSP
> MovableObjectFactory for type 'RibbonTrail' registered. Loading library > /usr/local/lib/OGRE/RenderSystem_GL.so An exception has occured: OGRE > EXCEPTION(7:InternalErrorException): Could not load dynamic library > /usr/local/lib/OGRE/RenderSystem_GL.so. System Error: > /usr/local/lib/OGRE/RenderSystem_GL.so: cannot open shared object file: No > such file or directory in DynLib::load at OgreDynLib.cpp (line 81) > I created soft link for all Ogre libraries in /usr/local/lib. After that demos were working fine but i was still having some problems with Gazebo0.9.0. I had not looked at it again for few weeks now. Please share you experience in case you successfully installed it. yannickp wrote: > > > > nitinkdhiman wrote: >> >> After exploring of code, i found that REAL being defined as macro for >> float/double depending on user options. >> I am able to compile the code only after replacing REAL with float in >> some of header files of OGRE-0.6.3. This obviously is not a good way to >> do things. Is anybody in community aware of better method of solving it? >> > > I try to compile Gazebo 0.9.0, but I've go the following error : > > libgazebo_server.so.0.9.0: undefined reference to > `Ogre::MovableObject::queryLights() const' > libgazebo_server.so.0.9.0: undefined reference to > `Ogre::OverlayElement::setPosition(float, float)' > ... > ... > > So, how can we solve the Real/float problem ? > Is there a patch for gazebo ? > Or, does the trunk version fix it ? > > -- View this message in context: http://old.nabble.com/installation-of-gazebo0.9.0-tp25269512p26384733.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
