Difference between revisions of "Compiling (OpenXcom)"

From UFOpaedia
Jump to navigation Jump to search
Line 15: Line 15:
 
* [http://www.libsdl.org/projects/SDL_image/ SDL_image] (libsdl-image1.2)
 
* [http://www.libsdl.org/projects/SDL_image/ SDL_image] (libsdl-image1.2)
 
* [http://cms.ferzkopp.net/index.php/software/13-sdl-gfx SDL_gfx] (libsdl-gfx1.2), version 2.0.22 or later
 
* [http://cms.ferzkopp.net/index.php/software/13-sdl-gfx SDL_gfx] (libsdl-gfx1.2), version 2.0.22 or later
* [http://code.google.com/p/yaml-cpp/ yaml-cpp], (libyaml-cpp), version 0.5.1 (0.5.2 does ''not'' work)
+
* [https://github.com/jbeder/yaml-cpp yaml-cpp], (libyaml-cpp), version 0.5.1 (0.5.2 does ''not'' work, use latest git HEAD if you want newer version)
 
<!--* [http://www.boost.org/ Boost], (boost)-->
 
<!--* [http://www.boost.org/ Boost], (boost)-->
  

Revision as of 05:28, 21 August 2015

The OpenXcom codebase is hosted on Github, and you can grab the latest source with any Git client from: https://github.com/SupSuper/OpenXcom.git

If you're a Github user you might wanna use a fork instead so you can have your own remote repository (you can't push to the official OpenXcom repository without permission) and easily send in pull requests.

OpenXcom is a cross-platform game so it's possible to compile it on a variety of systems and project files for all the popular IDEs are included. There's also a Doxygen documentation available.

Don't forget to copy the X-Com resources to your bin folder as shown in Installing.

Dependencies

OpenXcom requires the following libraries to compile:

  • SDL (libsdl1.2)
  • SDL_mixer (libsdl-mixer1.2)
  • SDL_image (libsdl-image1.2)
  • SDL_gfx (libsdl-gfx1.2), version 2.0.22 or later
  • yaml-cpp, (libyaml-cpp), version 0.5.1 (0.5.2 does not work, use latest git HEAD if you want newer version)

All operating systems

Windows

Mac OS X

Linux/BSD

Misc.