Unresolved externals error

shawnperolis

14-04-2012 06:30:09

Hello, I'm new here and I can't seem to find the answer to any of problems anywhere. I have a college course that uses Ogrebullet and so far... well, I absolutely hate it. :x I have barely been able to write any code for this because at every turn it seems like I am fighting Visual Studio tooth and nail to just get simple projects to build. My current dilemma comes in the form of two linker errors:

Error 2 error LNK1120: 1 unresolved externals C:\Users\Shawn\Desktop\ogrebullet_demosoruce\VehicleDemo\VehicleDemo\OgreBulletDemo\bin\Debug\OgreBulletDemo.exe 1 1 OgreBulletDemo

Error 1 error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexShape::project(class btTransform const &,class btVector3 const &,float &,float &)const " (?project@btConvexShape@@UBEXABVbtTransform@@ABVbtVector3@@AAM2@Z) C:\Users\Shawn\Desktop\ogrebullet_demosoruce\VehicleDemo\VehicleDemo\OgreBulletDemo\OgreBulletCollisions_d.lib(OgreBulletCollisionsSphereShape.obj) OgreBulletDemo

I am using Bullet 2.79 and Ogre 1.7.4, both compile correctly. My ogrebullet solution compiles correctly as well. Anytime that I try to include OgreBulletCollisions in a project I get these two errors.

Does anyone know why this happens? I'd greatly appreciate it if someone could point me in the right direction.