G30n3t!C
16-11-2008 16:15:15
hi @ all!
i'm currently working on a project and need collision detection, for this purpose i've choosen ogreode (forward-looking for adding physics), my ide is eclipse, my ogre version is 1.4.9 (the precompiled one), my ode version is 0.10.1 (latest) and my ogreode is the latest from svn repository.
i managed compiling ode, stuck in compiling ogreode (i just loaded the ogreaddons directory, not the whole svn stuff) and copied .h files and srces of ogreode to my project, linked them correctly, removed old ode- includes from my ogresdk and have following problems while compiling now:
1. in ode/common.h line 115: typedef uint32 dTriIndex;
'uint32' does not name a type
2. in ode/collision_trimesh.h line 98 + 102:
/*
* Simple build. Single/double precision based on dSINGLE/dDOUBLE!
*/
ODE_API void dGeomTriMeshDataBuildSimple(dTriMeshDataID g,
const dReal* Vertices, int VertexCount,
const dTriIndex* Indices, int IndexCount);
/* same again with a normals array (used as trimesh-trimesh optimization) */
ODE_API void dGeomTriMeshDataBuildSimple1(dTriMeshDataID g,
const dReal* Vertices, int VertexCount,
const dTriIndex* Indices, int IndexCount,
const int* Normals);
i guess because dTriIndex isn't set...
what am i doing wrong?
I don't now if this problem has something to do with ogreode or ode, so, sry for possibly posting it in the wrong forum
thanks in advance and sry for my cruel english XD
i'm currently working on a project and need collision detection, for this purpose i've choosen ogreode (forward-looking for adding physics), my ide is eclipse, my ogre version is 1.4.9 (the precompiled one), my ode version is 0.10.1 (latest) and my ogreode is the latest from svn repository.
i managed compiling ode, stuck in compiling ogreode (i just loaded the ogreaddons directory, not the whole svn stuff) and copied .h files and srces of ogreode to my project, linked them correctly, removed old ode- includes from my ogresdk and have following problems while compiling now:
1. in ode/common.h line 115: typedef uint32 dTriIndex;
'uint32' does not name a type
2. in ode/collision_trimesh.h line 98 + 102:
/*
* Simple build. Single/double precision based on dSINGLE/dDOUBLE!
*/
ODE_API void dGeomTriMeshDataBuildSimple(dTriMeshDataID g,
const dReal* Vertices, int VertexCount,
const dTriIndex* Indices, int IndexCount);
/* same again with a normals array (used as trimesh-trimesh optimization) */
ODE_API void dGeomTriMeshDataBuildSimple1(dTriMeshDataID g,
const dReal* Vertices, int VertexCount,
const dTriIndex* Indices, int IndexCount,
const int* Normals);
i guess because dTriIndex isn't set...
what am i doing wrong?
I don't now if this problem has something to do with ogreode or ode, so, sry for possibly posting it in the wrong forum
thanks in advance and sry for my cruel english XD