So I am attempting to integrate bullet physics into my project using irrBullet, however, I am getting an odd exception.
Code: Select all
1>irrBullet.lib(softbody.obj) : error LNK2019: unresolved external symbol "public: void __thiscall btSoftBody::appendAnchor(int,class btRigidBody *,bool)" (?appendAnchor@btSoftBody@@QAEXHPAVbtRigidBody@@_N@Z) referenced in function "public: void __thiscall ISoftBody::appendAnchor(unsigned int,class IRigidBody * const,bool)" (?appendAnchor@ISoftBody@@QAEXIQAVIRigidBody@@_N@Z)
1>..\..\bin\Client.exe : fatal error LNK1120: 1 unresolved externals
Anyway, I am linking them in this order exactly:
Code: Select all
#pragma comment(lib, "../../libs/irrBullet-0.1.71/lib/win32_visualstudio/2010/Debug/irrBullet.lib")
#pragma comment(lib, "../../libs/bullet-2.7.8/lib/Debug/BulletSoftBody.lib")
#pragma comment(lib, "../../libs/bullet-2.7.8/lib/Debug/BulletDynamics.lib")
#pragma comment(lib, "../../libs/bullet-2.7.8/lib/Debug/GIMPACTUtils.lib")
#pragma comment(lib, "../../libs/bullet-2.7.8/lib/Debug/BulletCollision.lib")
#pragma comment(lib, "../../libs/bullet-2.7.8/lib/Debug/LinearMath.lib")
Code: Select all
irrBullet.lib
BulletSoftBody.lib
BulletDynamics.lib
GIMPACTUtils.lib
BulletCollision.lib
LinearMath.lib
I have rebuilt the libraries several time, but can't seem to get it working.
Anyone else having this issue and/or know how to fix it? Thanks for your help.
-RageD