Help Building?

Brendan123746

18-04-2010 21:16:05

Hello I know this is a lot to ask, but could somone please write a step by step guide for compiling ogre and bullet, or upload a compiled ogre-bullet that would run out of that one folder.. or with instructions on how to get it to run.

I have tried atleast 5 times with fresh installs to get ogre and bullet to compile together but i always get random linker errors. I went on the irc and asked people to solve my errors, but they couldn't figure it out... I'm not going to post the errors because I screwed up so much with compiling. If somone can help me with this, I can try my best to model some shit for them.. I'm not the best modeler, but I would like to give something in return.

Thanks.

Fish

19-04-2010 03:18:24

Are you able to compile Ogre successfully? Which version of Ogre are you using? What compiler are you using?

-Fish

Brendan123746

19-04-2010 11:52:24

I've been using OGRE 1.6.5 SDK for Visual C++ .Net 2008 (9.0). And i'm using Visual C++ .Net 2008 Express for the compiler. All of that works fine.

Fish

19-04-2010 19:59:29

Are you using OgreBullet from SVN? Are you able to successfully compile Bullet?

If you answer yes to both of those questions the only thing left is to post the errors you get (even though you said you are not going to post them) :).

- Fish

Brendan123746

19-04-2010 20:41:36

I'm going to try to build this again, fresh install with everything and i'l post screenshots of every step, and the errors. Hopefully you'll be able to figure out where i'm messing up.

I downloaded bullet-2.76, extracted it C: and compiled the following in debug and release

C:\bullet-2.76\bullet-2.76\msvc\2008\src\BulletCollision
C:\bullet-2.76\bullet-2.76\msvc\2008\src\BulletDynamics
C:\bullet-2.76\bullet-2.76\msvc\2008\src\BulletMultiThreaded
C:\bullet-2.76\bullet-2.76\msvc\2008\src\BulletSoftBody
C:\bullet-2.76\bullet-2.76\msvc\2008\src\LinearMath

Everything compiled in both debug and release.

When i get back from swim practice I will try to compile OgreBullet

Brendan123746

20-04-2010 01:50:11

Ok inside OgreBullet there are three similar files OgreBullet_CVS, OgreBullet_CVS_Eihort, and OgreBullet_SDK.
Which one should i try to compile first?

Fish

20-04-2010 02:42:39

I'd use OgreBullet_CVS_Eihort.sln.

-Fish

dodgydan2001

20-04-2010 04:31:59

You cant upload screenshots from your hard drive, use a image hosting service and link to them using the BB code (img/url tags).

Heres a quick summary of how I got it working.

1. Download Bullet 2.76
2. Follow Bullet build guides
3. Check your VS 'include' paths on all of the projects you are going to build.
- You need to include the bullet include folder, the boost include folder, the ogre include folder(s)
4.Check your VS 'libraries' paths on all of the projects you are going to build.
- Again include the necessary bullet libs, ogre libs.
- I remember having issues with one of the bullet libraries in specific (libconvexdecomposition?), you might have to tinker to fix that if you get it.
Build and fix any errors. Goodluck