OgreBullet won't build.

CiaranMcC

24-09-2011 16:53:19

Hi there, I'm running windows 7 with visual stuido 2010, with Ogre 1.7, Bullet 2.77 and OgreBullet.

I have successfully complied bullet, though one project failed. All the OpenGL demos work fine though. I then tried to complie OgreBullet using visual studio solution. 2 of the 3 projects compile with no problems but the Dynamic_Demo doesn't complied.

I get a linker error

1>LINK : fatal error LNK1104: cannot open file 'linearmath.lib'


I have searched for hours today and looked at various tutorials with not luck.

Thanks

nww02

27-09-2011 21:28:19

That's a bullet library.

Compiling OgreBullet can be an exercise in patience, it seems. I compiled it under VS2008 last night. You need to go into the VS Project settings, find the "Additional Library Directory" setting and ensure that the "lib" folder from bullet is included.

Bear in mind, that you need to compile Bullet in both debug AND release mode. That'll make two copies of the libs, one set with _debug on the end of the name.

Hope this helps a little.