1
Builds & Ports / Re: Build on Mac OS X 10.7.4
« on: March 19, 2013, 08:16:45 pm »
Alright! Now have successfully built on 10.7.4.
Issues were as follows:
yaml-cpp 0.3.0 (or less)
Used hmaon's patch to accommodate for OSX weirdness. I made a minor edit (as described in my previous post).
Built just fine after these corrections with a few warnings which havent caused any problems yet to the build.
Final methodology for successful compile:
Tada! Thanks to hmaon, warboy, and Grrussel. Hopefully we can exclude the patching in the near future..
Issues were as follows:
yaml-cpp 0.3.0 (or less)
- Had installed through homebrew which is version 0.5.0
- Built source from here: https://code.google.com/p/yaml-cpp/downloads/detail?name=yaml-cpp-0.3.0.tar.gz&can=2&q=
Used hmaon's patch to accommodate for OSX weirdness. I made a minor edit (as described in my previous post).
Built just fine after these corrections with a few warnings which havent caused any problems yet to the build.
Final methodology for successful compile:
- Install XCode 4.3.1 and the install the Command Line Tools (under XCode > Preferences > Downloads > Components)
- Install brew for easy dependency grabs (visit: https://mxcl.github.com/homebrew/)
- brew install sdl
- brew install sdl_gfx
- brew install sdl_mixer
- brew install sdl_image
- Build and install yaml-cpp 0.3.0 (source: https://code.google.com/p/yaml-cpp/downloads/detail?name=yaml-cpp-0.3.0.tar.gz&can=2&q=)
- git clone https://github.com/SupSuper/OpenXcom.git
- download and apply https://bumba.net/~hmaon/oxc/OSX_kludge.patch using 'git apply OSX_kludge.patch'
- make -f Makefile.gcc-pch -j 4 (number of cores..)
Tada! Thanks to hmaon, warboy, and Grrussel. Hopefully we can exclude the patching in the near future..