[ODE] (no subject)

Aaron MacDonald Aaron.MacDonald at dal.ca
Sat Jun 16 18:40:28 MST 2007


Hello,

I'm having trouble getting ODE to work with Visual C++ (2005, Express edition).

I downloaded version 0.8 (ode-win32-0.8.zip).  I transfered the "ode" folder
inside the "include" folder to the "include" folder in my Visual C++ directory
(Microsoft Visual Studio 8/VC/include).  I transfered the ode.lib file inside
the "lib/releaselib" folder to the Visual C++ "lib" folder (Microsoft Visual
Studio 8/VC/lib).

I created a test project.  I went to Project->Properties->Linker->Input and put
"ode.lib" in "Additional Dependencies." The test program I have written has
"ode/ode.h" included and defines a dWorldID value.  Just that is O.K., but when
I try to set the dWorldID using dWorldCreate() I get 25 errors.  I doubt you
will find every error interesting, so I'll give a sample:

1>LIBCMT.lib(crt0dat.obj) : error LNK2005: __amsg_exit already defined in
MSVCRT.lib(MSVCR80.dll)
...
1>LIBCMT.lib(setlocal.obj) : error LNK2005: __configthreadlocale already defined
in MSVCRT.lib(MSVCR80.dll)
...
1>ode.lib(error.obj) : error LNK2001: unresolved external symbol
__imp__MessageBoxA at 16
...
1>ode.lib(convex.obj) : error LNK2001: unresolved external symbol "public: void
__thiscall std::_String_base::_Xlen(void)const "
(?_Xlen at _String_base@std@@QBEXXZ)
1>C:\...\ODE Test.exe : fatal error LNK1120: 3 unresolved externals

I would really appreciate it if someone can help me out with this.

Thank you,

Aaron MacDonald


More information about the ODE mailing list