Boogy
18-03-2010 09:35:22
When I compile OgreNewt in release mode it compiles fine but when I compile it in Debug Mode it gives me these errors:
I have used these link directory's :
Can anybody help me with this problem?
1>Linking...
1> Creating library .\lib\OgreNewt_d.lib and object .\lib\OgreNewt_d.exp
1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>OgreNewt_Joint.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CustomUserBlank::CustomUserBlank(unsigned int,struct NewtonBody const *,struct NewtonBody const *)" (__imp_??0CustomUserBlank@@QAE@IPBUNewtonBody@@0@Z) referenced in function "public: __thiscall OgreNewt::CustomJoint::CustomJoint(unsigned int,class OgreNewt::Body const *,class OgreNewt::Body const *)" (??0CustomJoint@OgreNewt@@QAE@IPBVBody@1@0@Z)
1>OgreNewt_Joint.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomUserBlank::GetInfo(struct NewtonJointRecord *)const " (?GetInfo@CustomUserBlank@@MBEXPAUNewtonJointRecord@@@Z)
1>OgreNewt_Joint.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomUserBlank::SubmitConstraints(float,int)" (?SubmitConstraints@CustomUserBlank@@MAEXMH@Z)
1>OgreNewt_Joint.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CustomUserBlank::~CustomUserBlank(void)" (__imp_??1CustomUserBlank@@UAE@XZ) referenced in function "public: virtual void * __thiscall CustomUserBlank::`scalar deleting destructor'(unsigned int)" (??_GCustomUserBlank@@UAEPAXI@Z)
1>./lib/OgreNewt_d.dll : fatal error LNK1120: 4 unresolved externals
I have used these link directory's :
C:\OgreSDK\lib;
C:\boost\libs;
C:\NewtonWin\sdk\x32;
C:\NewtonWin\sdk\x32\dll_vs9
Can anybody help me with this problem?