[ODE] Compiling trimesh test code

Jon Watte hplus-ode at mindcontrol.org
Fri Aug 20 11:12:02 MST 2004


Did you use a config.h that includes the trimesh in ODE, or 
did that get compiled out? Did you include the trimesh source 
files?

Cheers,

			/ h+


-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of
Duncan Frostick
Sent: Friday, August 20, 2004 10:20 AM
To: ode at q12.org
Subject: [ODE] Compiling trimesh test code


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
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode




More information about the ODE mailing list