I've finally manage to compile it with my (buggy) GCC 3.4.1.

If someone get this error :

g++ -c -Wall -fno-rtti -fno-exceptions -Wall -g -Iinclude -IOPCODE 
-DdTRIMESH_ENABLED -O0 -o ode/src/collision_trimesh_trimesh.o
ode/src/collision_trimesh_trimesh.cpp
OPCODE/OPC_TreeCollider.h: In function `int dCollideTTL(dxGeom*,
dxGeom*, int, dContactGeom*, int)':
OPCODE/OPC_TreeCollider.h:53: sorry, unimplemented: inlining failed in
call to 'void Opcode::BVTCache::ResetCountDown()': function not
considered for inlining
ode/src/collision_trimesh_trimesh.cpp:35: sorry, unimplemented: called
from here
ode/src/collision_trimesh_trimesh.cpp: At global scope:
ode/src/collision_trimesh_trimesh.cpp:947: warning: 'void
GetTriangleGeometryCallback(udword, Opcode::VertexPointers&, udword)'
defined but not used
ode/src/collision_trimesh_trimesh.cpp:1568: warning: 'int
IntersectLineSegmentRay(dReal*, dReal*, dReal*, dReal*, dReal*)' defined
but not used
make: *** [ode/src/collision_trimesh_trimesh.o] Erreur 1


Just replace line 52 of OPCODE/OPC_TreeCollider.h :

        inline_ void ResetCountDown()

By :

        void ResetCountDown()

Jiba

Reply via email to