[ODE] Compiling trimesh test code

Duncan Frostick duncanf at f2s.com
Fri Aug 20 18:20:07 MST 2004


Ello,

Another kick-myself-when-realise-what-it-is problem for you all. I'm 
trying to compile the trimesh test code so I can start to learn how to 
do something interesting with ODE but I get 3 unresolved external 
symbols (in VS.NET):

Linking...
test_trimesh.obj : error LNK2001: unresolved external symbol "struct 
dxGeom * __cdecl dCreateTriMesh(struct dxSpace *,struct dxTriMeshData 
*,int (__cdecl*)(struct dxGeom *,struct dxGeom *,int),void 
(__cdecl*)(struct dxGeom *,struct dxGeom *,int const *,int),int 
(__cdecl*)(struct dxGeom *,struct dxGeom *,int,double,double))" 
(?dCreateTriMesh@@$$J0YAPAUdxGeom@@PAUdxSpace@@PAUdxTriMeshData@@P6AHPAU1 at 2H@ZP6AX22PBHH at ZP6AH22HNN@Z at Z)
test_trimesh.obj : error LNK2001: unresolved external symbol "void 
__cdecl dGeomTriMeshDataBuildSimple(struct dxTriMeshData *,double const 
*,int,int const *,int)" 
(?dGeomTriMeshDataBuildSimple@@$$J0YAXPAUdxTriMeshData@@PBNHPBHH at Z)
test_trimesh.obj : error LNK2001: unresolved external symbol "struct 
dxTriMeshData * __cdecl dGeomTriMeshDataCreate(void)" 
(?dGeomTriMeshDataCreate@@$$J0YAPAUdxTriMeshData@@XZ)

I've got 'ode.lib drawstuff.lib opengl32.lib glu32.lib glut32.lib' in 
the linker input, and the ode include and lib directories added to the 
project directories... I don't know what I'm missing. Could someone tell 
  me what I'm doing wrong?

Cheers, Duncan Frostick


More information about the ODE mailing list