Difference between revisions of "Compiling with brew (OpenXcom)"
Jump to navigation
Jump to search
Antigluten (talk | contribs) |
Antigluten (talk | contribs) m |
||
Line 22: | Line 22: | ||
Apply patch and make | Apply patch and make | ||
+ | cd openxcom/src | ||
git apply OSX_kludge.patch | git apply OSX_kludge.patch | ||
make -f Makefile.gcc-pch -j 4 (number of cores on your machine) | make -f Makefile.gcc-pch -j 4 (number of cores on your machine) |
Revision as of 21:32, 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
cd openxcom/src git apply OSX_kludge.patch make -f Makefile.gcc-pch -j 4 (number of cores on your machine)