[ODE] constructor problem in collision_trimesh.cpp

gl gl at ntlworld.com
Fri Jul 1 20:04:00 MST 2005


If you check the ReadMe in /VC6, you'll find that there are .bat files 
included that copy the correct configs for you.
--
gl

----- Original Message ----- 
From: mseare at concretegames.com
To: ode at q12.org
Sent: Friday, July 01, 2005 7:52 PM
Subject: Re: [ODE] constructor problem in collision_trimesh.cpp


I had this problem too.  I'm compiling using Visual C++, and I had to edit 
my config header files to make it work.  I use the config files that are in 
ode/VC6/_configs, and then copy and rename the one I want to use to 
ode/include/ode/config.h.  If I'm not doing trimesh, I needed to add the 
following lines to my config file:



/* disable trimesh support */

#define dTRIMESH_ENABLED 0



You'll notice that the config files for using trimesh have the following 
lines:



/* enable trimesh support */

#define dTRIMESH_ENABLED 1



I'm not exactly sure why I needed to do this, but it worked, so I ran with 
it.



-Michael




--------------------------------------------------------------------------------

From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of 
steve1011
Sent: Friday, July 01, 2005 7:17 AM
To: ode at q12.org
Subject: [ODE] constructor problem in collision_trimesh.cpp



When I compile this on playstation port it errors on 'g undefined'. Does 
this compile on other platforms? I changed the argument to value 0 and it 
compiles and seems to work.

// Trimesh data
dxTriMeshData::dxTriMeshData(){
#ifndef dTRIMESH_ENABLED
dUASSERT(g, "dTRIMESH_ENABLED is not defined. Trimesh geoms will not work");
#endif
}



--------------------------------------------------------------------------------


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



More information about the ODE mailing list