CS 0.99 works perfectly fine on my VC++ 7.1
Your error occures, because the OpenDE library must completely support trimesh which the binary release for windows doesn't.
The missing code is
int dGeomTriMeshGetTriangleCount (dGeomID g)
{
dxTriMesh* Geom = (dxTriMesh*)g;
return Geom->Data->Mesh.GetNbTriangles();
}
To get a working ode get the currend code from
http://sourceforge.net/project/showfiles.php?group_id=24884. I used the ODE-UNSTABLE-snapshot (February 10, 2006). The library you'll have to create is either "DoubleTrimesh" or "SingleTrimesh". Just follow the following steps:
1. Unpack
2. Open ode.dsw with VC++
3. Add an existing project to this work space. Choose <your_ode_dir>/OPCODE/Opcode.dsw
4. Compile one of the Trimesh-projects (I used the "DoubleTrimesh")
4.1 If you want to get a Debug output just compile the project
4.2 To get a Release you would have to define the OPCODE include path (seems to be a small bug)
o right click on the "DoubleTrimesh" project; select properties
o in C/C++ => global add "OPCODE\Ice;OPCODE;include" to the include paths
o compile
5. rename your new library ("Release/DoubleTrimesh.lib") to "ode.lib" and move it to <your_ode_dir>/lib
6. don't forget to add the include and the lib forlder to your CS' imports
... done
best regards
Thomas
P.S.: sorry for my bad english. When you need further help (or libraries) just mail me moehre.home[at]web.de