To successfully build an OpenXcom OSX bundle you will need the relevant Xcode project files provided herewith as well as all the relevant dependencies installed in /usr/local/.
The dependencies you require are following:
- SDL (libsdl1.2)
- SDL_mixer (libsdl-mixer1.2)
- SDL_gfx (libsdl-gfx1.2), version 2.0.22 or later
- SDL_image (libsdl-image1.2)
- yaml-cpp, version 0.5 or later
If you want to save yourself the trouble - don’t do it manually, use Homebrew package manager - http://mxcl.github.com/homebrew/ or MacPorts - https://www.macports.org/ instead.
This guide assumes you listened to the previous recommendation and had your dependencies installed with brew terminal command (for Homebrew), like this:
$ brew install yaml-cpp sdl sdl_gfx sdl_image sdl_mixer --with-flac --with-libmikmod --with-libvorbis --with-static-lib
or port terminal command (for MacPorts), like this:
$ sudo port install yaml-cpp+universal libsdl+universal libsdl_gfx+universal libsdl_image+universal libsdl_mixer+universal
-
Open the
OpenxXcom.xcodeprojwith Xcode. Right click on the project (on the left pane) and click 'Add files to "OpenxXcom"'. Select the 'src' directory from the root of the project. Don't copy the files and do create folder groups. -
Create the directory
/Users/Shared/OpenXcom/and move your original xcom data files (UFO and TFTD directories) there. -
Push the ‘Build’ button and cross your fingers ;)
-
Find your newly created bundle in ‘./Build/Products/Release’ folder and copy it to some place you feel comfortable keeping your games in.
-
Enjoy!
Should you require any further assistance regarding the OSX build - feel free to ask around on the official forums - http://openxcom.org/forum/ or contact me directly on GitHub - http://github.com/rcreasey