Jump to content

Compiling with brew (OpenXcom): Difference between revisions

From UFOpaedia
mNo edit summary
update to match what is done for builds at https://bitbucket.org/grrussel/openxcomosx/src
Line 2: Line 2:
   see http://mxcl.github.com/homebrew/
   see http://mxcl.github.com/homebrew/


Install yaml-cpp 0.3.0
Install yaml-cpp and dependencies


  cd $(brew --prefix)
  git checkout 6e32f8c /usr/local/Library/Formula/yaml-cpp.rb
   brew install yaml-cpp
   brew install yaml-cpp
Install dependencies
   brew install sdl
   brew install sdl
   brew install sdl_gfx
   brew install sdl_gfx
Line 18: Line 13:
   git clone https://github.com/SupSuper/OpenXcom.git
   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
   cd openxcom/src
  git apply OSX_kludge.patch
   make -f Makefile.simple  -j N ( N == number of cores on your machine)
   make -f Makefile.gcc-pch -j 4 (number of cores on your machine)


[[Category:OpenXcom]]
[[Category:OpenXcom]]

Revision as of 21:09, 21 December 2013

Install brew

 see http://mxcl.github.com/homebrew/

Install yaml-cpp and dependencies

 brew install yaml-cpp
 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
 
 cd openxcom/src
 make -f Makefile.simple  -j N ( N == number of cores on your machine)