[ODE] compiling problems with trimesh

Flavien Brebion f.brebion at vrcontext.com
Tue Oct 28 15:36:41 MST 2003


Nothing, just cast it to a "const double *" as the compiler
asks, and it should be working well.

F. Brebion


-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of
Frederik Delaere (@ work)
Sent: Tuesday, October 28, 2003 1:47 PM
To: ode
Subject: [ODE] compiling problems with trimesh


I can't compile the included trimesh example, I get following error:

error C2664: 'dGeomTriMeshDataBuildSimple' : cannot convert parameter 2 from
'double [5][4]' to 'const double *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast

windows 2000 - msvc 6.0

I have build with the code from www.coderfarm.com

what I am doing wrong ?

thanks,

fretn

_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode



More information about the ODE mailing list