
Zurzaza wrote:thank you for your reply & for your tips.
I've just ended of "cleaning" the source code from the "using namespace " instruction. Now all headers and a lot of .cpp files don't contain using namespace declaration.
You can download the lastest svn version (r51) to apply the changes
Have a good day

panto wrote:I tried compiling but it gave me a bunch of linker errors. Any advice would be appreciated.
Important NOTE: If you use a bullet version, different from the irrBP official bullet supported version (2.76 right now), you must pay attention when compiling BULLET PHYSICS: To avoid linking problems in your project you need to verify (and even change) that the runtime library in BULLET_PHYSICS project is setted to "MultiThreaded".

panto wrote:I now tried recompiling IrrBPLib.lib using Multi-Threaded as runtime library. Result? Still a bunch of linker errors. I'm giving up, I've wasted ~3 hours of my time trying to fix this.
I appreciate the work you've put to this, seems solid enough and apparently the people who can actually use this enjoy it.

1> Generating Code...
1> IrrBPLib.lib(CIrrBPWorld.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>IrrBPLib.lib(CIrrBPWorld.obj) : error LNK2001: unresolved external symbol "public: __thiscall btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btSoftRigidDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z)
1>IrrBPLib.lib(CIrrBPHingeConstraint.obj) : error LNK2001: unresolved external symbol "public: __thiscall btHingeConstraint::btHingeConstraint(class btRigidBody &,class btRigidBody &,class btVector3 const &,class btVector3 const &,class btVector3 &,class btVector3 &,bool)" (??0btHingeConstraint@@QAE@AAVbtRigidBody@@0ABVbtVector3@@1AAV2@2_N@Z)
1>IrrBPLib.lib(CIrrBPHingeConstraint.obj) : error LNK2001: unresolved external symbol "public: __thiscall btHingeConstraint::btHingeConstraint(class btRigidBody &,class btVector3 const &,class btVector3 &,bool)" (??0btHingeConstraint@@QAE@AAVbtRigidBody@@ABVbtVector3@@AAV2@_N@Z)
#pragma comment( lib, "Irrlicht.lib" )
#pragma comment( lib, "BulletDynamics.lib" )
#pragma comment( lib, "BulletSoftBody.lib" )
#pragma comment( lib, "LinearMath.lib" )
#pragma comment( lib, "BulletCollision.lib" )
#pragma comment( lib, "IrrBPLib.lib" )

1>------ Build started: Project: IrrRPG, Configuration: Release Win32 ------
1> EventReceiver.cpp
1> Main.cpp
1> RGame.cpp
1> Generating Code...
1> IrrBPLib.lib(CIrrBPWorld.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>IrrBPLib.lib(CIrrBPWorld.obj) : error LNK2001: unresolved external symbol "public: __thiscall btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btSoftRigidDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z)
1>IrrBPLib.lib(CIrrBPHingeConstraint.obj) : error LNK2001: unresolved external symbol "public: __thiscall btHingeConstraint::btHingeConstraint(class btRigidBody &,class btRigidBody &,class btVector3 const &,class btVector3 const &,class btVector3 &,class btVector3 &,bool)" (??0btHingeConstraint@@QAE@AAVbtRigidBody@@0ABVbtVector3@@1AAV2@2_N@Z)
1>IrrBPLib.lib(CIrrBPHingeConstraint.obj) : error LNK2001: unresolved external symbol "public: __thiscall btHingeConstraint::btHingeConstraint(class btRigidBody &,class btVector3 const &,class btVector3 &,bool)" (??0btHingeConstraint@@QAE@AAVbtRigidBody@@ABVbtVector3@@AAV2@_N@Z)
1>C:\Users\Alex\Documents\Visual Studio 2010\Projects\IrrRPG\Release\IrrRPG.exe : fatal error LNK1120: 3 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Return to Project Announcements
Users browsing this forum: Sinsemilla and 1 guest