I failed several times to build ogre on my 2009, 13", 2GB macbook pro.
Which dependencies should I use for 1.9 or 1.8.1 ? I've been told to not trust the official download, and only get anything from the repo.
Any thorough guide about building ogre on mac? it seems to change every 6 months.
Any thorough guide onto how to build 1.9 or 1.8.1 on xcode 5
-
- Goblin
- Posts: 203
- Joined: Sun Aug 23, 2009 8:30 am
- x 3
-
- Goblin
- Posts: 203
- Joined: Sun Aug 23, 2009 8:30 am
- x 3
-
- Goblin
- Posts: 203
- Joined: Sun Aug 23, 2009 8:30 am
- x 3
Re: Any thorough guide onto how to build 1.9 or 1.8.1 on xco
Okay so I manage to compile 1.9 on mavericks, here is what I did.
Downloaded the 1.9 zip from the bitbucket repo.
Downloaded the OgreDependencies_OSX_libc++_20130610.zip from http://sourceforge.net/projects/ogre/fi ... s-mac/1.9/
Installed boost with homebrew with this command
It's very long as it will compile boost (!), so this will result in a 700MB+ binary. Be patient I guess.
Move the Dependencies folder to the ogre source folder.
Run CMake 3 GUI on this folder. I disabled many things like PFX, PCZ, Samples, shader plugins, paging, overlay, terrain, volume. I also enabled unity build to speed up thing on my core 2 duo, 2GB ram, macbook 13".
Open the XCode project, OgreMain builds (alleluia).
Set your OGRE_SDK_ROOT
Note to point the path to the /SDK/ folder
I failed to build the samples, and the ogre project templates didn't work either.
error is
Downloaded the 1.9 zip from the bitbucket repo.
Downloaded the OgreDependencies_OSX_libc++_20130610.zip from http://sourceforge.net/projects/ogre/fi ... s-mac/1.9/
Installed boost with homebrew with this command
Code: Select all
brew install boost --c++1 --universal
Move the Dependencies folder to the ogre source folder.
Run CMake 3 GUI on this folder. I disabled many things like PFX, PCZ, Samples, shader plugins, paging, overlay, terrain, volume. I also enabled unity build to speed up thing on my core 2 duo, 2GB ram, macbook 13".
Open the XCode project, OgreMain builds (alleluia).
Set your OGRE_SDK_ROOT
Code: Select all
open -a TextEdit ~/.bash_profile
export OGRE_SDK_ROOT=YOUR_SOURCE_FOLDER/SDK
I failed to build the samples, and the ogre project templates didn't work either.
error is
Code: Select all
ld: library not found for -lboost_system-mt