[ODE] Compiling ODE w. Trimesh

Wesley Smith wesley.hoke at gmail.com
Mon Sep 18 13:58:13 MST 2006


Hi,
I'm trying to compile ODE with trimesh support, and I'm getting the
following error:

error: 'g' was not declared in this scope


At this line:

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



I've looked through the TriMeshData struct and all of the header files
included in collision_trimesh.cpp as well as header files included in
those header files, and I'm going to have to go with the compiler on
this one.  I can't find a single reference to variable g be it in the
TriMeshData struct or global.  Does anyone know where it resides?

thanks,
wes


More information about the ODE mailing list