Build error when linking in release mode

carychow

21-05-2008 19:41:19

Hi. everybody. I'm a newbie of OgreODE. I got a problem when I tried to build the Ogre_Core project with "OgreOde\scripts\VC8\OgreOde_SDK.sln". I got the newest files of OgreODE from CVS.

A part of the message:
Linking...
Creating library ..\..\lib\Release/OgreOde_Core.lib and object ..\..\lib\Release/OgreOde_Core.exp
OgreOdeJoint.obj : error LNK2001: unresolved external symbol _dJointSetBallParam
OgreOdeJoint.obj : error LNK2001: unresolved external symbol _dJointGetBallParam
..\..\lib\Release/OgreOde_Core.dll : fatal error LNK1120: 2 unresolved externals
Build log was saved at "file://c:\OgreOde\obj\Release\BuildLog.htm"
OgreOde_Core - 3 error(s), 0 warning(s)


I'm using ODE 0.9 and OGRE 1.4.8. No errors or warnings in compiling.

In debug mode, there are no errors. How can I fixed it in release mode?

carychow

21-05-2008 20:08:29

Oops...I was success when I replaced these two files to an older version.

OgreOdeJoint.h: Revision 1.6
OgreOdeJoint.cpp: Revision 1.7

I think the errors are come from:
- edsworkers patch : new joints and more slider joint parameters

nitsuj33

30-06-2008 07:05:29

I got this same error when I linked to ode_single.lib in a debug configuration instead of ode_singled.lib. Changing the library fixed the problem for me.