Difference between revisions of "Compiling with Autotools (OpenXcom)"

From UFOpaedia
Jump to navigation Jump to search
(Created page with "== Required packages == * [http://git-scm.com/ git] (git) * [http://www.libsdl.org/ SDL] (libsdl1.2-dev) * [http://www.libsdl.org/projects/SDL_mixer/ SDL_mixer] (libsdl-mixer1...")
 
Line 1: Line 1:
 
== Required packages ==
 
== Required packages ==
* [http://git-scm.com/ git] (git)
+
In order to compile OpenXcom you need to install additional [[Compiling (OpenXcom)#Dependencies|dependencies]].
* [http://www.libsdl.org/ SDL] (libsdl1.2-dev)
 
* [http://www.libsdl.org/projects/SDL_mixer/ SDL_mixer] (libsdl-mixer1.2-dev)
 
* [http://www.libsdl.org/projects/SDL_image/ SDL_image] (libsdl-image1.2-dev)
 
* [http://www.ferzkopp.net/joomla/content/view/19/14/ SDL_gfx] (libsdl-gfx1.2-dev), version 2.0.22 or later
 
* [http://code.google.com/p/yaml-cpp/ yaml-cpp] (libyaml-cpp-dev), version '''0.5 or later'''
 
* [http://www.boost.org boost] (libboost-dev), required as dependency for yaml-cpp 0.5.
 
  
 
Check the library websites if you can't find them with your distribution's package manager.
 
Check the library websites if you can't find them with your distribution's package manager.
Line 14: Line 8:
 
== Commands ==
 
== Commands ==
  
  git clone https://github.com/SupSuper/OpenXcom.git
+
<pre>
  cd OpenXcom
+
git clone https://github.com/SupSuper/OpenXcom.git
  ./autogen.sh (optional)
+
cd OpenXcom
  ./configure
+
./autogen.sh (optional)
  make
+
./configure
  make install
+
make
 +
</pre>
  
 
[[Category:OpenXcom]]
 
[[Category:OpenXcom]]

Revision as of 12:33, 18 May 2015

Required packages

In order to compile OpenXcom you need to install additional dependencies.

Check the library websites if you can't find them with your distribution's package manager.

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

Commands

git clone https://github.com/SupSuper/OpenXcom.git
cd OpenXcom
./autogen.sh (optional)
./configure
make