Compiling with brew (OpenXcom): Difference between revisions
Appearance
Warboy1982 (talk | contribs) No edit summary |
Antigluten (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
Install brew | Install brew | ||
see http://mxcl.github.com/homebrew/ | see http://mxcl.github.com/homebrew/ | ||
Install yaml-cpp 0.3.0 | |||
cd $(brew --prefix) | |||
git checkout 6e32f8c /usr/local/Library/Formula/yaml-cpp.rb | |||
brew install yaml-cpp | |||
Install dependencies | Install dependencies | ||
brew install sdl | brew install sdl | ||
brew install sdl_gfx | brew install sdl_gfx | ||
| Line 10: | Line 15: | ||
brew install sdl_image | brew install sdl_image | ||
Clone the source | |||
git clone https://github.com/SupSuper/OpenXcom.git | |||
download hmaon's patch and copy to openxcom/src | |||
http://bumba.net/~hmaon/oxc/OSX_kludge.patch | |||
make -f Makefile. | Apply patch and make | ||
git apply OSX_kludge.patch | |||
make -f Makefile.gcc-pch -j 4 (number of cores on your machine) | |||
Revision as of 21:31, 19 March 2013
Install brew
see http://mxcl.github.com/homebrew/
Install yaml-cpp 0.3.0
cd $(brew --prefix) git checkout 6e32f8c /usr/local/Library/Formula/yaml-cpp.rb brew install yaml-cpp
Install dependencies
brew install sdl brew install sdl_gfx brew install sdl_mixer brew install sdl_image
Clone the source
git clone https://github.com/SupSuper/OpenXcom.git
download hmaon's patch and copy to openxcom/src
http://bumba.net/~hmaon/oxc/OSX_kludge.patch
Apply patch and make
git apply OSX_kludge.patch make -f Makefile.gcc-pch -j 4 (number of cores on your machine)