Compiling Ogre from Source

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
falchiongpx
Gnoblar
Posts: 16
Joined: Sun May 05, 2013 5:30 am

Compiling Ogre from Source

Post by falchiongpx »

OK, so I'm trying to figure out how to compile Ogre from source code. I cannot find the v1.49 version of BOOST, and ... well Visual Studio Express 2010 is not DevC++. What up-to-date resources should I have for compiling Ogre?

Off to work on my final,
Charlie
Etty
Kobold
Posts: 36
Joined: Fri Mar 15, 2013 11:09 am
Location: Belgium
x 3

Re: Compiling Ogre from Source

Post by Etty »

Boost release version history

And have a look at the wiki here : Building Ogre
( Might not be up to date for 1.9 )
Last edited by Etty on Wed May 08, 2013 3:48 pm, edited 1 time in total.
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 534

Re: Compiling Ogre from Source

Post by Kojack »

Ogre 1.8.1 used Boost 1.49 (iirc).
Ogre 1.9 is using Boost 1.53. Well, that's in the binary sdks. You can use pretty much whichever version you want if you build ogre from source (although from boost 1.50 onwards the libs required changed, there's an extra one or two needed).
User avatar
falchiongpx
Gnoblar
Posts: 16
Joined: Sun May 05, 2013 5:30 am

Re: Compiling Ogre from Source

Post by falchiongpx »

Etty wrote:Boost release version history

And have a look at the wiki here : Building Ogre
( Might not be up to date for 1.9 )
No, it has not been updatated for 1.9.
Kojack wrote:Ogre 1.8.1 used Boost 1.49 (iirc).
Ogre 1.9 is using Boost 1.53. Well, that's in the binary sdks. You can use pretty much whichever version you want if you build ogre from source (although from boost 1.50 onwards the libs required changed, there's an extra one or two needed).
What extra libs are required?
/me looks up the definition of "lib"

The tutorial says that the MinGW requires filepaths for boost....

From the tutorial

Code: Select all

"CMake depends on the following environment variables to find Boost succesfully:
BOOST_ROOT (C:\Program Files\boost\boost_1_49)
BOOST_INCLUDEDIR (C:\Program Files\boost\boost_1_49)
BOOST_LIBRARYDIR (C:\Program Files\boost\boost_1_49\lib)
Well, at least BOOST_ROOT, but it can't hurt to set the two others."
Um, most programs require Program Files (x86), but is it ok to install boost into good ole Program Files?

What does CMake do, anyhow? I plan on using Visual Studio.
User avatar
falchiongpx
Gnoblar
Posts: 16
Joined: Sun May 05, 2013 5:30 am

Re: Compiling Ogre from Source

Post by falchiongpx »

Also, what's the difference between visual C++ and good ole C++ that i just took in school?
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: Compiling Ogre from Source

Post by Transporter »

falchiongpx wrote:Also, what's the difference between visual C++ and good ole C++ that i just took in school?
Visual C++ ist just the name of Microsofts C++ tools (compiler, runtime, etc.).

If you like to compile ogre from sources, you can use a boost version of your choice. But you might have to compile it by yourself. You can also check the build thread linked in my signature to get new files.
Post Reply