rogerdv
21-09-2008 19:16:53
When I try to compile under Ubuntu 8.04 I get this error:
I have seen similar problems, mostly due to data size in 64 bits systems. Can somebody give me an idea about how to solve this?
src/ogreode/src/OgreOdeGeometry.cpp: In constructor 'OgreOde::TriangleMeshGeometry::TriangleMeshGeometry(const Ogre::Vector3*, unsigned int, const OgreOde::TriangleIndex*, unsigned int, OgreOde::World*, OgreOde::Space*)':
src/ogreode/src/OgreOdeGeometry.cpp:903: error: invalid conversion from 'unsigned int*' to 'const int*'
src/ogreode/src/OgreOdeGeometry.cpp:903: error: initializing argument 4 of 'void dGeomTriMeshDataBuildSimple(dxTriMeshData*, const dReal*, int, const int*, int)'
scons: *** [src/ogreode/src/OgreOdeGeometry.o] Error 1
I have seen similar problems, mostly due to data size in 64 bits systems. Can somebody give me an idea about how to solve this?