OgreBullet tutorial setup - almost there!

darthtelle

22-02-2011 20:18:23

Hey! I've been trying desperately for two days to set up OgreBullet for my Final Year Project for university! I'm using Visual Studios 2010, Ogre v1.7.2, Bullet 2.77 and the most recent OgreBullet from svn. I've managed to make it all the way through the tutorials and set up a project which includes Ogre, OgreBullet and Bullet.. (I got to the end of this page (http://www.ogre3d.org/tikiwiki/OgreBull ... =Libraries)). But when I come to compile my program it tells me I have a error LNK1104: cannot open file 'GIMPACT.obj'. I can't trace where this coming from, so any help would be greatly appreciated! I've tried playing with my project properties, but as far as I can tell they all follow the tutorial steps and the advice I've come across on the forums. :( Please help!

And as a secondary problem, the Ogre App Wizard won't build projects for me anymore. Every time I click to create an Ogre App it restarts without creating a project just takes me back to the start page. This is a secondary problem cos I've got a base app set up already.. but if I need it in the future its there just in case!

Thank you once again! Any help is much appreciated. :)

Chantelle x

Fish

24-02-2011 13:27:45

Try a Clean rebuild of Bullet and Ogre Bullet, it's possible that the gimpact.obj file is corrupt or missing. Make sure bullet is compiling the gimpact.lib library and make sure to link it into your application.

- Fish

darthtelle

25-02-2011 18:29:24

Thanks for the reply. I tried rebuilding OgreBullet again and in some fit of craziness I deleted all the library and include dependencies. And for the life of me I can't get it working again. I'm trying to compile it in Visual Studios 2010, and I've made the relevant changes suggested in this topic viewtopic.php?f=12&t=13560. However it won't build telling me it cannot open include file "boost/thread/tss.hpp". I've tried including this folder in all solutions and it just won't have any of it. Does anyone know how to solve it?

Thanks!

niNJA

27-02-2011 18:08:49

Do you have an include path for your environment to the path that holds the boost folder, rather than to the boost/threads folder itself?
The includes in Ogre (see OgreThreadHeadersBoost.h) prepend 'boost/thread/' to the header being included, as you point out in your post.

N.

darthtelle

27-02-2011 20:54:43

Thank you so much! I wasn't linking to just the boost folders! That sorted that problem out no problem! And then after rebuilding everything again and copying the lib files over I fixed my GIMPACT.obj error too! Huge thank you! Fingers crossed I can get on with my dissertation now! :D

Chantelle x