[SOLVED] irrBullet error using IKinematicCharacterControlle

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.
Post Reply
kerouinci
Posts: 4
Joined: Sat Jun 23, 2012 10:02 pm

[SOLVED] irrBullet error using IKinematicCharacterControlle

Post by kerouinci »

Hi all,

First of all THANK YOU. I solved 99% of my problems just by reading past threads.
But now I have definately hit a brick wall. I've been using the irrBullet library following instructions very carefully in MS2010. Everything was working fine.

I get no errors when I run my application. Here are my settings:

In the Linker:
irrBullet.lib;
BulletDynamics.lib;
BulletSoftBody.lib;
GIMPACTUtils.lib;
LinearMath.lib;
BulletCollision.lib;
BulletFileLoader.lib;
BulletWorldImporter.lib

In the sources:
C:\SoftwareDevelopement\irrBullet-0.1.8\lib\win32_visualstudio\2008;
C:\SoftwareDevelopement\irrBullet-0.1.8\lib\win32_visualstudio\2010\Debug;

As soon as I use the following line:
IKinematicCharacterController* character = new IKinematicCharacterController(world);
I get an unresolved external error.
I checked the IKinematicCharacterController to see what's so special about it that it triggers errors as opposed to the other structures like ICollissionShape or IrgidBody or irrBulletWorld and all that I found is that it references:

#include "BulletDynamics/Character/btKinematicCharacterController.h"

So something is probably wrong at the level of BulletDynamic.lib. Any Idea what could it be?
Perhaps the fact that I'm mixing 2008 libraries with 2010. Any idea guys?

Error:
Error 3 error LNK2019: unresolved external symbol "public: __thiscall IKinematicCharacterController::IKinematicCharacterController(class irrBulletWorld * const)" (??0IKinematicCharacterController@@QAE@QAVirrBulletWorld@@@Z) referenced in function "public: void __thiscall Cmap2::createTerrain(void)" (?createTerrain@Cmap2@@QAEXXZ) C:\Users\Kerouinci\Documents\Visual Studio 2010\Projects\SIMON LUCAS\IrrlichtLearn\IrrlichtLearn\map2.obj TanksInSand
Last edited by kerouinci on Sun Jun 24, 2012 8:45 am, edited 1 time in total.
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: irrBullet LINK error when I use IKinematicCharacterContr

Post by zerochen »

hi,

you have to add the kinematiccharactercontroller.h/.cpp files manually to the irrBullet project
kerouinci
Posts: 4
Joined: Sat Jun 23, 2012 10:02 pm

Re: [SOLVED] irrBullet error using IKinematicCharacterContro

Post by kerouinci »

Thank you so much. Problem fixed! Back to work :)
Post Reply