irrBP Not Linking Properly

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

irrBP Not Linking Properly

Post by Dark Dragon DX »

Hello, I'm a newbie C++ programmer that decided to use Irrlicht to learn with due to it's simplicity for setting up scenes. Although this may not belong in the "Beginners" section, I thought I'd post it here since I am a newbie.

My problem goes as follows:
I have Irrlicht 1.7.1, IrrBP 0.2, and Bullet Physics 2.77. I am attempting to make a basic game engine built around Irrlicht (just for me to learn CPP). However, I've been having issues with integrating bullets Physics 2.77. Whenever I compile Bullet (as a .dll), all goes as planned and a .DLL is produced. However, when I include the IrrBP.h file, the compilation works fine except when it hits the "linking" step. After 2-5 seconds of sitting on linking, I get about 50 errors describing unreferenced functions that appear to have to do with "security" cookies.

What I'm doing wrong, I don't know. If I didn't give enough information in that paragraph (I'm sure I didn't), please state so and what information I should have also posted.
Last edited by Dark Dragon DX on Fri Nov 19, 2010 12:44 pm, edited 2 times in total.
CuteAlien
Admin
Posts: 9971
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

The DLL also comes with a .lib file probably. You have to add that to your linker section (it contains stubs which will be resolved at runtime by the dll functions).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

CuteAlien wrote:The DLL also comes with a .lib file probably. You have to add that to your linker section (it contains stubs which will be resolved at runtime by the dll functions).
I included all the libs I should have.

All libraries from Irrlicht 1.7.1 are included.
All libraries from IrrBP are included (including the libs/ folder ones)
The libraries I compiled from Bullet are included.
The issue lies elsewhere.

I heard from someone that it may be because that the IrrBT .lib files were compiled under a different compiler different from the one I am currently using (GNU GCC Compiler 4.4.1). But I have attempted to compile IrrBP source myself just to get the same sort of linker errors.
Last edited by Dark Dragon DX on Fri Nov 19, 2010 12:47 pm, edited 2 times in total.
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Post by Zurzaza »

Hi dragon.
Did you follow the "Important note" in the irrBP documentation?
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".
Lot of people has solved their problem using this tip. ;)

If you don't use MSVC compiler, can you tell me the errors that your linker gives?

edit: I also suggest you to compile bullet as .lib
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

Zurzaza wrote:Hi dragon.
Did you follow the "Important note" in the irrBP documentation?
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".
Lot of people has solved their problem using this tip. ;)

If you don't use MSVC compiler, can you tell me the errors that your linker gives?

edit: I also suggest you to compile bullet as .lib
I am using GNU GCC Compiler 4.4.1. And compiling as a .dll outputs .lib files for me to link to. I realize that I need to recompile irrBP with my GCC Compiler, but I can't seem to figure out what exactly needs to be compiled.

The errors I am getting come as the following (when I'm attempting to compile just CIrrBPWorld.cpp):

Code: Select all

||=== irrBP, Debug ===|
include\softbody\CIrrBPSoftBody.h|39|warning: inline function 'virtual void CIrrBPSoftBody::update()' used but never defined|
include\CIrrBPCollisionObject.h|18|warning: 'UNIQUE_BODY_ID_GENERATOR' defined but not used|
include\convert.h|37|warning: 'irr::core::vector3df bullet::QuaternionToIrrEuler(const btQuaternion&)' defined but not used|
include\convert.h|49|warning: 'btTransform bullet::getTransformFromIrrlichtNode(const irr::scene::ISceneNode*)' defined but not used|
include\convert.h|60|warning: 'btTriangleMesh* bullet::irrMeshToBulletTriangleMesh(irr::scene::IMesh*, const irr::core::vector3df&)' defined but not used|
obj\Debug\main.o:E:\SDK\irrBP\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
obj\Debug\main.o:E:\SDK\irrBP\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
obj\Debug\main.o:E:\SDK\irrBP\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
obj\Debug\main.o||In function `~CIrrBPWorld':|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|40|undefined reference to `CIrrBPConstraint::getConstraintPtr()'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|40|undefined reference to `CIrrBPConstraint::getConstraintPtr()'|
obj\Debug\main.o||In function `CIrrBPWorld':|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|64|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|66|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|69|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|71|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|74|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*, btSoftBodySolver*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|76|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|64|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|66|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|69|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|71|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|74|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*, btSoftBodySolver*)'|
E:\SDK\irrBP\src\CIrrBPWorld.cpp|76|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
obj\Debug\main.o:E:\SDK\irrBP\src\CIrrBPWorld.cpp|110|undefined reference to `CIrrBPConstraint::getConstraintPtr()'|
obj\Debug\main.o:E:\SDK\irrBP\src\CIrrBPWorld.cpp|121|undefined reference to `btCollisionWorld::contactTest(btCollisionObject*, btCollisionWorld::ContactResultCallback&)'|
obj\Debug\main.o:E:\SDK\irrBP\src\CIrrBPWorld.cpp|150|undefined reference to `btSoftRigidDynamicsWorld::addSoftBody(btSoftBody*, short, short)'|
obj\Debug\main.o:E:\SDK\irrBP\src\CIrrBPWorld.cpp|185|undefined reference to `CIrrBPConstraint::getConstraintPtr()'|
obj\Debug\main.o:E:\SDK\irrBP\src\CIrrBPWorld.cpp|280|undefined reference to `CIrrBPDebugDrawer::CIrrBPDebugDrawer(irr::video::IVideoDriver*)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\BulletCollision\CollisionShapes\btTriangleIndexVertexArray.h|77|undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\BulletCollision\CollisionShapes\btTriangleIndexVertexArray.h|77|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:E:\SDK\irrBP\..\bullet-2.77\src\LinearMath\btAlignedAllocator.h|86|undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
obj\Debug\main.o:main.cpp:(.rdata$_ZTV17btTypedConstraint[vtable for btTypedConstraint]+0x30)||undefined reference to `btTypedConstraint::serialize(void*, btSerializer*) const'|
||=== Build finished: 30 errors, 5 warnings ===|
Yes, I'm compiling from a portable USB device (4 GB flashdrive) if that affects anything.

On that important tip, I don't know where to change "Multithreading" under Code::Blocks.
Last edited by Dark Dragon DX on Fri Nov 19, 2010 12:44 pm, edited 1 time in total.
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Post by Zurzaza »

The tip refers to MSVC Compiler.
You thought right, you need to recompile irrBP, because the default .lib is coming out for MSVC 2005 (that ISN'T compatible with GCC).
To recompile irrBP under GCC you need to do the following:

1) Create a new CodeBlocks\Dev C++ empty project
2) Include "src" folder in your project
3) Set Include folders to: "irrBP\include" and "bullet-2.77\src"
4) Set the bullet linking libraries (BulletCollision.lib,BulletDynamics.lib,BulletSoftBody.lib,LinearMath.lib) and of course Irrlicht.lib. I think that linking libraries under gcc has ".a" extension
5) Recompile
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

Zurzaza wrote:The tip refers to MSVC Compiler.
You thought right, you need to recompile irrBP, because the default .lib is coming out for MSVC 2005 (that ISN'T compatible with GCC).
To recompile irrBP under GCC you need to do the following:

1) Create a new CodeBlocks\Dev C++ empty project
2) Include "src" folder in your project
3) Set Include folders to: "irrBP\include" and "bullet-2.77\src"
4) Set the bullet linking libraries (BulletCollision.lib,BulletDynamics.lib,BulletSoftBody.lib,LinearMath.lib) and of course Irrlicht.lib. I think that linking libraries under gcc has ".a" extension
5) Recompile
The library files have .lib extentions.

And it didn't work. I linked the .lib files from irrBP/libs/ and Irrlicht 1.7.1, it gave me an even bigger list of errors.

Code: Select all

||=== irrBP, Debug ===|
include\constraint\CIrrBPSlideConstraint.h|80|warning: "/*" within comment|
include\CIrrBPManager.h||In member function 'CIrrBPCollisionObject* CIrrBPManager::getBodyFromId(irr::s32)':|
include\CIrrBPManager.h|299|warning: no return statement in function returning non-void|
include\CIrrBPManager.h||In member function 'CIrrBPCollisionObject* CIrrBPManager::getBodyFromUId(irr::u32)':|
include\CIrrBPManager.h|306|warning: no return statement in function returning non-void|
include\CIrrBPManager.h||In member function 'CIrrBPCollisionObject* CIrrBPManager::getBodyFromName(irr::c8*)':|
include\CIrrBPManager.h|314|warning: no return statement in function returning non-void|
include\CIrrBPCollisionObject.h|18|warning: 'UNIQUE_BODY_ID_GENERATOR' defined but not used|
include\IrrBP.h|213|warning: 'CIrrBPManager* createBulletManager(irr::IrrlichtDevice*)' defined but not used|
include\convert.h|37|warning: 'irr::core::vector3df bullet::QuaternionToIrrEuler(const btQuaternion&)' defined but not used|
include\convert.h|49|warning: 'btTransform bullet::getTransformFromIrrlichtNode(const irr::scene::ISceneNode*)' defined but not used|
include\convert.h|60|warning: 'btTriangleMesh* bullet::irrMeshToBulletTriangleMesh(irr::scene::IMesh*, const irr::core::vector3df&)' defined but not used|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"libcpmt" /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
Z]+0xf)||undefined reference to `?serialize@btCollisionObject@@UBEPBDPAXPAVbtSerializer@@@Z'|
Z]+0x11)||undefined reference to `__security_cookie'|
Z]+0x29)||undefined reference to `??0btCollisionObject@@QAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x4)||undefined reference to `??1btCollisionObject@@UAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x23)||undefined reference to `@__security_check_cookie@4'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x2d)||undefined reference to `__CxxFrameHandler3'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x4)||undefined reference to `??1btCollisionObject@@UAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x15)||undefined reference to `@__security_check_cookie@4'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x1f)||undefined reference to `__CxxFrameHandler3'|
Z]+0x1c)||undefined reference to `__security_cookie'|
Z]+0x37)||undefined reference to `??0btCollisionObject@@QAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x7)||undefined reference to `??1btCollisionObject@@UAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x2f)||undefined reference to `@__security_check_cookie@4'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btRigidBody.obj):(.text$x+0x39)||undefined reference to `__CxxFrameHandler3'|
XZ]+0x12)||undefined reference to `__security_cookie'|
XZ]+0x7a)||undefined reference to `??1btCollisionObject@@UAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btTypedConstraint.obj):(.text$x+0x4)||undefined reference to `??1btCollisionObject@@UAE@XZ'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btTypedConstraint.obj):(.text$x+0x15)||undefined reference to `@__security_check_cookie@4'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btTypedConstraint.obj):(.text$x+0x1f)||undefined reference to `__CxxFrameHandler3'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
XZ]+0x18)||undefined reference to `__security_cookie'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btTypedConstraint.obj):(.text$x+0x1b)||undefined reference to `@__security_check_cookie@4'|
libs\BulletDynamics.lib(.\bulletdynamics.dir\release\btTypedConstraint.obj):(.text$x+0x25)||undefined reference to `__CxxFrameHandler3'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
Z]+0x12)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x12)||undefined reference to `__security_cookie'|
libs\BulletCollision.lib(.\bulletcollision.dir\release\btGjkPairDetector.obj):(.text$x+0x15)||undefined reference to `@__security_check_cookie@4'|
libs\BulletCollision.lib(.\bulletcollision.dir\release\btGjkPairDetector.obj):(.text$x+0x1f)||undefined reference to `__CxxFrameHandler3'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
Z]+0x11)||undefined reference to `??3@YAXPAX@Z'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
Z]+0x11)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x1e)||undefined reference to `__security_cookie'|
libs\BulletCollision.lib(.\bulletcollision.dir\release\btInternalEdgeUtility.obj):(.text$x+0x1b)||undefined reference to `@__security_check_cookie@4'|
libs\BulletCollision.lib(.\bulletcollision.dir\release\btInternalEdgeUtility.obj):(.text$x+0x25)||undefined reference to `__CxxFrameHandler3'|
Z]+0x1e)||undefined reference to `__security_cookie'|
libs\BulletCollision.lib(.\bulletcollision.dir\release\btInternalEdgeUtility.obj):(.text$x+0x1e)||undefined reference to `@__security_check_cookie@4'|
libs\BulletCollision.lib(.\bulletcollision.dir\release\btInternalEdgeUtility.obj):(.text$x+0x28)||undefined reference to `__CxxFrameHandler3'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
Z]+0x12)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x12)||undefined reference to `??3@YAXPAX@Z'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
8]+0x0)||undefined reference to `??_7type_info@@6B@'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 24 warnings ===|
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Post by Zurzaza »

mmmh...very strange:
Are you compiling bullet with GCC?
How did you compile irrBP on GCC?

Maybe you're doing something wrong
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

Zurzaza wrote:mmmh...very strange:
Are you compiling bullet with GCC?
How did you compile irrBP on GCC?

Maybe you're doing something wrong
I probably am doing something wrong..
Am I supposed to compile the .cpp files or the .h files?
Probably sounds like a stupid question ...

I tried compiling each one of the .cpp files seperately (which in turn include their .h file pairs) with no luck. Then I tried compiling them all at once. After that, I followed the same procedure when I tried to compile .h files into .libs.

And yes, I used GCC to compile Bullet Physics.
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Post by Zurzaza »

Dark Dragon DX wrote:
Zurzaza wrote:mmmh...very strange:
Are you compiling bullet with GCC?
How did you compile irrBP on GCC?

Maybe you're doing something wrong
I probably am doing something wrong..
Am I supposed to compile the .cpp files or the .h files?
Probably sounds like a stupid question ...

I tried compiling each one of the .cpp files seperately (which in turn include their .h file pairs) with no luck. Then I tried compiling them all at once. After that, I followed the same procedure when I tried to compile .h files into .libs.

And yes, I used GCC to compile Bullet Physics.
uhm..very strange case...i'll try to download code:blocks tomorrow evening. Please be patient, i'll help you
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

Zurzaza wrote:
Dark Dragon DX wrote:
Zurzaza wrote:mmmh...very strange:
Are you compiling bullet with GCC?
How did you compile irrBP on GCC?

Maybe you're doing something wrong
I probably am doing something wrong..
Am I supposed to compile the .cpp files or the .h files?
Probably sounds like a stupid question ...

I tried compiling each one of the .cpp files seperately (which in turn include their .h file pairs) with no luck. Then I tried compiling them all at once. After that, I followed the same procedure when I tried to compile .h files into .libs.

And yes, I used GCC to compile Bullet Physics.
uhm..very strange case...i'll try to download code:blocks tomorrow evening. Please be patient, i'll help you
Thanks.

Also, I corrected my errors at spelling the name of your wrapper. I originally spelled it as "irrBT" for some odd reason.
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Post by Zurzaza »

Ok, i successfully compiled irrBP under C::B. Can you try this version? Click here to download. please tell me if works.
(a lib is Already Compiled with bullet 2.77)
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

Zurzaza wrote:Ok, i successfully compiled irrBP under C::B. Can you try this version? Click here to download. please tell me if works.
(a lib is Already Compiled with bullet 2.77)
Now I'm getting a totally different error that is from a program called "ld.exe" when I'm compiling. When I compile, everything goes fine untill I hit the linking step again.

The error is:
"There is no disk in the drive. Please insert a disk into drive \Device\Haddisk1\DR1".

When I click any of the options, the window only pops right up again. It does for 80 or so times before eventually stopping. Then I would get the following list of errors in CodeBlocks:

Code: Select all

..\SDK\irrBP\include\constraint\CIrrBPSlideConstraint.h|80|warning: "/*" within comment|
..\SDK\irrBP\include\CIrrBPManager.h||In member function 'CIrrBPCollisionObject* CIrrBPManager::getBodyFromId(irr::s32)':|
..\SDK\irrBP\include\CIrrBPManager.h|299|warning: no return statement in function returning non-void|
..\SDK\irrBP\include\CIrrBPManager.h||In member function 'CIrrBPCollisionObject* CIrrBPManager::getBodyFromUId(irr::u32)':|
..\SDK\irrBP\include\CIrrBPManager.h|306|warning: no return statement in function returning non-void|
..\SDK\irrBP\include\CIrrBPManager.h||In member function 'CIrrBPCollisionObject* CIrrBPManager::getBodyFromName(irr::c8*)':|
..\SDK\irrBP\include\CIrrBPManager.h|314|warning: no return statement in function returning non-void|
I:\TDS\main.cpp||In function 'int main(int, char**)':|
I:\TDS\main.cpp|348|warning: suggest parentheses around comparison in operand of '&'|
I:\TDS\main.cpp|360|warning: suggest parentheses around comparison in operand of '&'|
I:\TDS\main.cpp|364|warning: suggest parentheses around comparison in operand of '&'|
..\SDK\irrBP\include\CIrrBPCollisionObject.h|18|warning: 'UNIQUE_BODY_ID_GENERATOR' defined but not used|
..\SDK\irrBP\include\IrrBP.h|213|warning: 'CIrrBPManager* createBulletManager(irr::IrrlichtDevice*)' defined but not used|
..\SDK\irrBP\include\convert.h|37|warning: 'irr::core::vector3df bullet::QuaternionToIrrEuler(const btQuaternion&)' defined but not used|
..\SDK\irrBP\include\convert.h|49|warning: 'btTransform bullet::getTransformFromIrrlichtNode(const irr::scene::ISceneNode*)' defined but not used|
..\SDK\irrBP\include\convert.h|60|warning: 'btTriangleMesh* bullet::irrMeshToBulletTriangleMesh(irr::scene::IMesh*, const irr::core::vector3df&)' defined but not used|
obj\Debug\main.o:I:\TDS\..\SDK\irrBP\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
obj\Debug\main.o:I:\TDS\..\SDK\irrBP\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
obj\Debug\main.o:I:\TDS\..\SDK\irrBP\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\BulletCollision\CollisionShapes\btTriangleIndexVertexArray.h|77|undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\BulletCollision\CollisionShapes\btTriangleIndexVertexArray.h|77|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:main.cpp:(.rdata$_ZTV17btTypedConstraint[vtable for btTypedConstraint]+0x30)||undefined reference to `btTypedConstraint::serialize(void*, btSerializer*) const'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPManager.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorldC2EPN3irr14IrrlichtDeviceERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|64|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|66|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|69|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|71|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|73|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*, btSoftBodySolver*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|76|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorldC1EPN3irr14IrrlichtDeviceERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|64|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|66|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|69|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|71|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|73|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*, btSoftBodySolver*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|76|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorld21getBodyCollidingPointEP21CIrrBPCollisionObjectP12contactPoint':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|121|undefined reference to `btCollisionWorld::contactTest(btCollisionObject*, btCollisionWorld::ContactResultCallback&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorld11addSoftBodyEP14CIrrBPSoftBody':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|150|undefined reference to `btSoftRigidDynamicsWorld::addSoftBody(btSoftBody*, short, short)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN20btAlignedObjectArrayI9btHashIntE5clearEv':|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0x18)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZN19CIrrBPPatchSoftBodyC2ERKN3irr4core8vector3dIfEES5_S5_S5_fP11CIrrBPWorldii':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|20|undefined reference to `btSoftBodyHelpers::CreatePatch(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, int, int, int, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|21|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|22|undefined reference to `btSoftBody::randomizeConstraints()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZN19CIrrBPPatchSoftBodyC1ERKN3irr4core8vector3dIfEES5_S5_S5_fP11CIrrBPWorldii':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|20|undefined reference to `btSoftBodyHelpers::CreatePatch(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, int, int, int, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|21|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|22|undefined reference to `btSoftBody::randomizeConstraints()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZNK3irr5scene11CMeshBufferINS_5video9S3DVertexEE11getPositionEj':|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0x23)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
)]+0x23)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPRopeSoftBody.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPRopeSoftBody.o)||In function `ZN18CIrrBPRopeSoftBodyC2ERKN3irr4core8vector3dIfEES5_fP11CIrrBPWorldi':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|16|undefined reference to `btSoftBodyHelpers::CreateRope(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, int, int)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|17|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|18|undefined reference to `btSoftBody::randomizeConstraints()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPRopeSoftBody.o)||In function `ZN18CIrrBPRopeSoftBodyC1ERKN3irr4core8vector3dIfEES5_fP11CIrrBPWorldi':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|16|undefined reference to `btSoftBodyHelpers::CreateRope(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, int, int)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|17|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|18|undefined reference to `btSoftBody::randomizeConstraints()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPHingeConstraint.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPHingeConstraint.o)||In function `ZN21CIrrBPHingeConstraintC2EP15CIrrBPRigidBodyRKN3irr4core8vector3dIfEES7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPHingeConstraint.cpp|6|undefined reference to `btHingeConstraint::btHingeConstraint(btRigidBody&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPHingeConstraint.o)||In function `ZN21CIrrBPHingeConstraintC1EP15CIrrBPRigidBodyRKN3irr4core8vector3dIfEES7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPHingeConstraint.cpp|6|undefined reference to `btHingeConstraint::btHingeConstraint(btRigidBody&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPHingeConstraint.o)||In function `ZN21CIrrBPHingeConstraintC2EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_S7_S7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPHingeConstraint.cpp|14|undefined reference to `btHingeConstraint::btHingeConstraint(btRigidBody&, btRigidBody&, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPHingeConstraint.o)||In function `ZN21CIrrBPHingeConstraintC1EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_S7_S7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPHingeConstraint.cpp|14|undefined reference to `btHingeConstraint::btHingeConstraint(btRigidBody&, btRigidBody&, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConeTwistConstraint.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConeTwistConstraint.o)||In function `ZN25CIrrBPConeTwistConstraintC2EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPConeTwistConstraint.cpp|23|undefined reference to `btConeTwistConstraint::btConeTwistConstraint(btRigidBody&, btRigidBody&, btTransform const&, btTransform const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConeTwistConstraint.o)||In function `ZN25CIrrBPConeTwistConstraintC1EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPConeTwistConstraint.cpp|23|undefined reference to `btConeTwistConstraint::btConeTwistConstraint(btRigidBody&, btRigidBody&, btTransform const&, btTransform const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPP2PConstraint.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPP2PConstraint.o)||In function `ZN19CIrrBPP2PConstraintC2EP15CIrrBPRigidBodyRKN3irr4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPP2PConstraint.cpp|6|undefined reference to `btPoint2PointConstraint::btPoint2PointConstraint(btRigidBody&, btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPP2PConstraint.o)||In function `ZN19CIrrBPP2PConstraintC1EP15CIrrBPRigidBodyRKN3irr4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPP2PConstraint.cpp|6|undefined reference to `btPoint2PointConstraint::btPoint2PointConstraint(btRigidBody&, btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPP2PConstraint.o)||In function `ZN19CIrrBPP2PConstraintC2EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPP2PConstraint.cpp|12|undefined reference to `btPoint2PointConstraint::btPoint2PointConstraint(btRigidBody&, btRigidBody&, btVector3 const&, btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPP2PConstraint.o)||In function `ZN19CIrrBPP2PConstraintC1EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPP2PConstraint.cpp|12|undefined reference to `btPoint2PointConstraint::btPoint2PointConstraint(btRigidBody&, btRigidBody&, btVector3 const&, btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPSlideConstraint.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPSlideConstraint.o)||In function `ZN21CIrrBPSlideConstraintC2EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_bb':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPSlideConstraint.cpp|46|undefined reference to `btSliderConstraint::btSliderConstraint(btRigidBody&, btRigidBody&, btTransform const&, btTransform const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPSlideConstraint.o)||In function `ZN21CIrrBPSlideConstraintC1EP15CIrrBPRigidBodyS1_RKN3irr4core8vector3dIfEES7_bb':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\constraint\CIrrBPSlideConstraint.cpp|46|undefined reference to `btSliderConstraint::btSliderConstraint(btRigidBody&, btRigidBody&, btTransform const&, btTransform const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTimeCallBackAnimator.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPCollisionCallbackAnimator.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPCollisionDeleteAnimator.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPDeleteAnimator.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConvexHullBody.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConvexHullBody.o)||In function `ZN20CIrrBPConvexHullBody14initializeMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEES8_Pvf':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|27|undefined reference to `btConvexHullShape::btConvexHullShape(float const*, int, int)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|49|undefined reference to `btConvexHullShape::addPoint(btVector3 const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|50|undefined reference to `btConvexHullShape::addPoint(btVector3 const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|51|undefined reference to `btConvexHullShape::addPoint(btVector3 const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|68|undefined reference to `btConvexHullShape::addPoint(btVector3 const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|69|undefined reference to `btConvexHullShape::addPoint(btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConvexHullBody.o):E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|70|more undefined references to `btConvexHullShape::addPoint(btVector3 const&)' follow|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConvexHullBody.o)||In function `ZN20CIrrBPConvexHullBody14initializeMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEES8_Pvf':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPConvexHullBody.cpp|82|undefined reference to `btRigidBody::btRigidBody(float, btMotionState*, btCollisionShape*, btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPConvexHullBody.o)||In function `ZN3irr4core6stringIcNS0_12irrAllocatorIcEEEaSERKS4_':|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.text$_ZN17btCollisionObjectnwEj[btCollisionObject::operator new(unsigned int)]+0x15)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.text$_ZN17btConvexHullShapenwEj[btConvexHullShape::operator new(unsigned int)]+0x15)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN13CIrrBPTrimesh14initializeMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEES8_Pvf':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\body\CIrrBPTrimeshBody.cpp|31|undefined reference to `btRigidBody::btRigidBody(float, btMotionState*, btCollisionShape*, btVector3 const&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet23bulletVectorToIrrVectorERK9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|18|undefined reference to `vtable for btGImpactMeshShape'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|19|undefined reference to `btConcaveShape::~btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet17QuaternionToEulerERK12btQuaternionR9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|22|undefined reference to `btConcaveShape::~btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet23bulletVectorToIrrVectorERK9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|18|undefined reference to `vtable for btGImpactMeshShapePart'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|18|undefined reference to `btConcaveShape::btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet17QuaternionToEulerERK12btQuaternionR9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|29|undefined reference to `btConcaveShape::~btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN21CIrrBPCollisionObject7setNameERKN3irr4core6stringIcNS1_12irrAllocatorIcEEEE':|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0x18)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.rdata$_ZTV23btGImpactShapeInterface[vtable for btGImpactShapeInterface]+0x14)||undefined reference to `btCollisionShape::getBoundingSphere(btVector3&, float&) const'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.rdata$_ZTV23btGImpactShapeInterface[vtable for btGImpactShapeInterface]+0x18)||undefined reference to `btCollisionShape::getAngularMotionDisc() const'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.rdata$_ZTV23btGImpactShapeInterface[vtable for btGImpactShapeInterface]+0x1c)||undefined reference to `btCollisionShape::getContactBreakingThreshold(float) const'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.rdata$_ZTV23btGImpactShapeInterface[vtable for btGImpactShapeInterface]+0x3c)||undefined reference to `btCollisionShape::serialize(void*, btSerializer*) const'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.rdata$_ZTV23btGImpactShapeInterface[vtable for btGImpactShapeInterface]+0x40)||undefined reference to `btCollisionShape::serializeSingleShape(btSerializer*) const'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.text$_ZN23btGImpactShapeInterface13calcLocalAABBEv[btGImpactShapeInterface::calcLocalAABB()]+0x35)||undefined reference to `btGImpactQuantizedBvh::buildSet()'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\CIrrBPCollisionObject.h:(.text$_ZN21btGImpactQuantizedBvh6updateEv[btGImpactQuantizedBvh::update()]+0xd)||undefined reference to `btGImpactQuantizedBvh::refit()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet23bulletVectorToIrrVectorERK9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|19|undefined reference to `btConcaveShape::~btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet17QuaternionToEulerERK12btQuaternionR9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|22|undefined reference to `btConcaveShape::~btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet23bulletVectorToIrrVectorERK9btVector3':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|19|undefined reference to `btConcaveShape::~btConcaveShape()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPTrimeshBody.o)||In function `ZN6bullet17QuaternionToEulerERK12btQuaternionR9btVector3':|
||=== Build finished: 208 errors, 12 warnings ===|
(Whoa, holy errors. I think I had the max amount of errors set to 0, which is infinite)

Is this because I am attempting to compile on a 64-bit system (Windows 7 Ultimate) now? Earlier I was working a 32-bit System (XP). I'll try again later today when I have access to a 32-bit system.

I am attempting to compile directly from my project that has include directives for Irrlicht and IrrBP at the top of the file.

Edit: I looked at the list of errors and found that your .a file refers to YOUR your documents folder..

Code: Select all

E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined 
Zurzaza
Posts: 153
Joined: Fri Mar 26, 2010 9:41 pm
Location: Filo (FE), Italy
Contact:

Post by Zurzaza »

oh, sorry. I forgot to say you that you must change the include folders to your path. Try changing this, after that, tomorrow i'll try to compile all the examples with C::B :?
irrBP - an Irrlicht - Bullet Physics Wrapper.
The only irrlicht-physics wrapper that uses multithread technology.
Dark Dragon DX
Posts: 24
Joined: Fri Nov 05, 2010 11:46 pm

Post by Dark Dragon DX »

Zurzaza wrote:oh, sorry. I forgot to say you that you must change the include folders to your path. Try changing this, after that, tomorrow i'll try to compile all the examples with C::B :?
I went back and compiled on a x32 machine (Windows XP) and I didn't get the "ld.exe" error, but I still got the following errors:

Code: Select all

||=== The Draakan Story, Debug ===|
obj\Debug\main.o:I:\TDS\..\SDK\irrBP\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
obj\Debug\main.o:I:\TDS\..\SDK\irrBP\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
obj\Debug\main.o:I:\TDS\..\SDK\irrBP\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\BulletCollision\CollisionShapes\btTriangleIndexVertexArray.h|77|undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\BulletCollision\CollisionShapes\btTriangleIndexVertexArray.h|77|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:I:\TDS\..\SDK\bullet-2.77\src\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
obj\Debug\main.o:main.cpp:(.rdata$_ZTV17btTypedConstraint[vtable for btTypedConstraint]+0x30)||undefined reference to `btTypedConstraint::serialize(void*, btSerializer*) const'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPManager.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorldC2EPN3irr14IrrlichtDeviceERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|64|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|66|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|69|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|71|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|73|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*, btSoftBodySolver*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|76|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorldC1EPN3irr14IrrlichtDeviceERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|64|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|66|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|69|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|71|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|73|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*, btSoftBodySolver*)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|76|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorld21getBodyCollidingPointEP21CIrrBPCollisionObjectP12contactPoint':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|121|undefined reference to `btCollisionWorld::contactTest(btCollisionObject*, btCollisionWorld::ContactResultCallback&)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN11CIrrBPWorld11addSoftBodyEP14CIrrBPSoftBody':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\CIrrBPWorld.cpp|150|undefined reference to `btSoftRigidDynamicsWorld::addSoftBody(btSoftBody*, short, short)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPWorld.o)||In function `ZN20btAlignedObjectArrayI9btHashIntE5clearEv':|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0x18)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZN19CIrrBPPatchSoftBodyC2ERKN3irr4core8vector3dIfEES5_S5_S5_fP11CIrrBPWorldii':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|20|undefined reference to `btSoftBodyHelpers::CreatePatch(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, int, int, int, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|21|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|22|undefined reference to `btSoftBody::randomizeConstraints()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZN19CIrrBPPatchSoftBodyC1ERKN3irr4core8vector3dIfEES5_S5_S5_fP11CIrrBPWorldii':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|20|undefined reference to `btSoftBodyHelpers::CreatePatch(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, int, int, int, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|21|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPPatchSoftBody.cpp|22|undefined reference to `btSoftBody::randomizeConstraints()'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPPatchSoftBody.o)||In function `ZNK3irr5scene11CMeshBufferINS_5video9S3DVertexEE11getPositionEj':|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0xd)||undefined reference to `btAlignedFreeInternal(void*)'|
)]+0x23)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
)]+0x23)||undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPRopeSoftBody.o)||In function `ZN6bullet27irrMeshToBulletTriangleMeshEPN3irr5scene5IMeshERKNS0_4core8vector3dIfEE':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|65|undefined reference to `btTriangleMesh::btTriangleMesh(bool, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|83|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\CodeBlocks\irrBP\..\..\include\convert.h|99|undefined reference to `btTriangleMesh::addTriangle(btVector3 const&, btVector3 const&, btVector3 const&, bool)'|
..\SDK\CodeBlocks\irrBP\bin\Debug\libirrBP(bullet2.77).a(CIrrBPRopeSoftBody.o)||In function `ZN18CIrrBPRopeSoftBodyC2ERKN3irr4core8vector3dIfEES5_fP11CIrrBPWorldi':|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|16|undefined reference to `btSoftBodyHelpers::CreateRope(btSoftBodyWorldInfo&, btVector3 const&, btVector3 const&, int, int)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|17|undefined reference to `btSoftBody::setTotalMass(float, bool)'|
E:\Documenti\Lavori Stefano\ProgettoFPS\Engine\Engine\IrrBP\src\softbody\CIrrBPRopeSoftBody.cpp|18|undefined reference to `btSoftBody::randomizeConstraints()'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|
So me compiling on a x64 system was affecting the linking process.
Post Reply