I have been trying to link in the DBPro ODE DLL code to use as a library of physics functions with DarkGDK using Visual C++ Express and I seem to be having problems.
I have the odephysics.cpp file included in my project with paths set up to the DarkGDK include directories and both the DBODE and ODE Source Code Includes. It's also pointing to the ODE Source Code releaseLib directory.
The build type is set to /MT.
Everything compiles ok but I get the following linking errors which I cannot seem to get rid of:
[1>ODEPhysics.obj : error LNK2001: unresolved external symbol "struct sObject * __cdecl GetObjectW(int)" (?GetObjectW@@YAPAUsObject@@H@Z)
1>ode.lib(convex.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
1>ode.lib(convex.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
1>C:\Game Develpment\DarkGDK Code\MyWorld\Release\MyWorld.exe : fatal error LNK1120: 3 unresolved externals
]
Basically 3 unresolved externals! Anyone come accross this or got any ideas?
No matter how good your code is, someone will improve on it