Hello I had the same problems while trying to compile Gazebo on AMD64 and changed problematic casts to (long) instead of (int) in files:
* server/physics/Geom.cc (line 218) * server/rendering/OgreAdaptor.cc (lines 345, 349) As far as I remember, Gazebo compiled without problems after these changes. Also I added "return camera;" at the end of OgreAdaptor::CreateCamera method in OgreAdaptor.cc. I really don't know why it wasn't there. Gazebo was crashing badly because of that. Good luck Stanislaw Szymczyk On 10/1/07, Alvaro Aguilera <[EMAIL PROTECTED]> wrote: > >Hello > > ... > About the compilation error, it seems that in new versions of ODE, dGeomID > cannot be casted to integer. > The error is at server/physics/Geom.cc, line 218 "cast from dxGeom* to int > loses precision". > If I change the casting to "long long" in a couple of places, the error > doesn't appear anymore, but compilation dies anyway at other point, so I > didn't try more ugly patches :) > > Regards, > Alvaro. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
