Advertisement

problem with ODE and Plane2D [SOLVED]

Started by December 27, 2004 06:52 PM
1 comment, last by Seriema 20 years, 2 months ago
Hi! I'm trying to use ODE for physics for our 2D game. I saw that Plane2D is normally used for using ODE in a 2D environment. So that meant that I couldn't use the precompiled version of ODE since I had to make some changes to the source files. After 4 hours of messing with the broken VS.NET solution in the \contrib\msvc7\ folder I finally was ready to compile the Plane2D test app. To my joy there are 8 linker errors! Unresolved external symbols: _dsSimulationLoop _dJointSetPlane2DYParam _dJointSetPlane2DXParam _dJointCreatePlane2D _dsSetViewpoint _dsDrawBoxD _dsSetColor _dsSetTexture They're in the source files, that are compiled. I pull in the compiled dll .lib in the Plane2D test with the #pragma command. I have the compiled .dll in \windows\system32\. Those unresolved functions are declared in the included headers as external. I'm all out of ideas now. What's going on? Cheers! PS. If you have a tips for a good and powerful 2D physics library (free) I'm all ears.[Edited by - Seriema on December 28, 2004 6:56:19 PM]
[ ThumbView: Adds thumbnail support for DDS, PCX, TGA and 16 other imagetypes for Windows XP Explorer. ] [ Chocolate peanuts: Brazilian recipe for home made chocolate covered peanuts. Pure coding pleasure. ]
Oki I figured out 2 things.
1) the ds prefix is the DrawStuff lib, which I haven't compiled
2) the others are part of the Plane2D, but this I have compiled so why can't the compiler find it?
[ ThumbView: Adds thumbnail support for DDS, PCX, TGA and 16 other imagetypes for Windows XP Explorer. ] [ Chocolate peanuts: Brazilian recipe for home made chocolate covered peanuts. Pure coding pleasure. ]
Advertisement
solved it!!!

It was the VS.NET project, you have to add this to msvcdefs.def>
dJointCreatePlane2D
dJointSetPlane2DXParam
dJointSetPlane2DYParam
dJointSetPlane2DAngleParam
[ ThumbView: Adds thumbnail support for DDS, PCX, TGA and 16 other imagetypes for Windows XP Explorer. ] [ Chocolate peanuts: Brazilian recipe for home made chocolate covered peanuts. Pure coding pleasure. ]

This topic is closed to new replies.

Advertisement