<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hmaon</id>
	<title>UFOpaedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hmaon"/>
	<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/Special:Contributions/Hmaon"/>
	<updated>2026-05-01T05:52:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Compiling_with_MinGW_(OpenXcom)&amp;diff=45148</id>
		<title>Compiling with MinGW (OpenXcom)</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Compiling_with_MinGW_(OpenXcom)&amp;diff=45148"/>
		<updated>2013-03-16T19:48:20Z</updated>

		<summary type="html">&lt;p&gt;Hmaon: /* Download the prerequisite libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Compiling on Ubuntu 12.10 or 12.04LTS ==&lt;br /&gt;
&lt;br /&gt;
=== Install the cross-compiler ===&lt;br /&gt;
&lt;br /&gt;
`apt-get install g++-mingw-w64-i686`&lt;br /&gt;
&lt;br /&gt;
This is the compiler targeting Win32/x86. If you want to build a 64-bit binary, you&#039;re on your own for libraries.&lt;br /&gt;
&lt;br /&gt;
=== Grab the source ===&lt;br /&gt;
&lt;br /&gt;
e.g., `git clone https://github.com/SupSuper/OpenXcom.git`&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have git installed? Install it with `apt-get install git`.&lt;br /&gt;
&lt;br /&gt;
=== Download the prerequisite libraries ===&lt;br /&gt;
&lt;br /&gt;
Building all the prerequisites from source is a good way to waste a day of your life. Some of them are availalbe in the stock package repositries, such as libsdl and libogg, but the majority are not. I recommend downloading [http://bumba.net/~hmaon/oxc/OXC-mingw32-cross-tools.tar.xz the tarball of static libraries I&#039;ve compiled].&lt;br /&gt;
&lt;br /&gt;
Supposing that you&#039;ve downloaded the file to ~/Downloads, install the contents with the following commands: `cd / ; tar xvJf ~/Downloads/OXC-mingw32-cross-tools.tar.xz`. This will place a bunch of files in /usr/local/cross-tools/i386-mingw32.&lt;br /&gt;
&lt;br /&gt;
This fileset includes a 64-bit pkg-config binary. If you need a 32-bit one, build it with the following steps:&lt;br /&gt;
: apt-get source pkg-config&lt;br /&gt;
: cd pkg-config-*&lt;br /&gt;
: ./configure --prefix=/usr/local/cross-tools/i386-mingw32&lt;br /&gt;
: make&lt;br /&gt;
: sudo make install&lt;br /&gt;
&lt;br /&gt;
=== Get the Makefile and make ===&lt;br /&gt;
&lt;br /&gt;
[http://bumba.net/~hmaon/oxc/Makefile.mingw-hmaon Download my Makefile.] It&#039;s based on Makefile.simple and Michal&#039;s gitbuilder file. Place the file in OpenXcom/src and `make`! &lt;br /&gt;
&lt;br /&gt;
Note: -lws2_32 is only needed for ntohl(), used by the FLAC library iirc. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MXE ==&lt;br /&gt;
Michal uses a different setup for his own builds and gitbuilder, based on [http://mxe.cc/ MXE]. I haven&#039;t tried MXE myself but supposedly its compiler rejects the -msse2 flag. On the other hand, it looks like it&#039;ll build all the libraries for you!&lt;/div&gt;</summary>
		<author><name>Hmaon</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Compiling_with_MinGW_(OpenXcom)&amp;diff=44703</id>
		<title>Compiling with MinGW (OpenXcom)</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Compiling_with_MinGW_(OpenXcom)&amp;diff=44703"/>
		<updated>2013-02-18T22:12:26Z</updated>

		<summary type="html">&lt;p&gt;Hmaon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Compiling on Ubuntu 12.10 or 12.04LTS ==&lt;br /&gt;
&lt;br /&gt;
=== Install the cross-compiler ===&lt;br /&gt;
&lt;br /&gt;
`apt-get install g++-mingw-w64-i686`&lt;br /&gt;
&lt;br /&gt;
This is the compiler targeting Win32/x86. If you want to build a 64-bit binary, you&#039;re on your own for libraries.&lt;br /&gt;
&lt;br /&gt;
=== Grab the source ===&lt;br /&gt;
&lt;br /&gt;
e.g., `git clone https://github.com/SupSuper/OpenXcom.git`&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have git installed? Install it with `apt-get install git`.&lt;br /&gt;
&lt;br /&gt;
=== Download the prerequisite libraries ===&lt;br /&gt;
&lt;br /&gt;
Building all the prerequisites from source is a good way to waste a day of your life. Some of them are availalbe in the stock package repositries, such as libsdl and libogg, but the majority are not. I recommend downloading [http://bumba.net/~hmaon/oxc/OXC-mingw32-cross-tools.tar.xz the tarball of static libraries I&#039;ve compiled].&lt;br /&gt;
&lt;br /&gt;
Supposing that you&#039;ve downloaded the file to ~/Downloads, install the contents with the following commands: `cd / ; tar xvJf ~/Downloads/OXC-mingw32-cross-tools.tar.xz`. This will place a bunch of files in /usr/local/cross-tools/i386-mingw32 so if you don&#039;t want that to happne, you&#039;re on your own.&lt;br /&gt;
&lt;br /&gt;
This fileset includes a 64-bit pkg-config binary. If you need a 32-bit one, build it with the following steps:&lt;br /&gt;
: apt-get source pkg-config&lt;br /&gt;
: cd pkg-config-*&lt;br /&gt;
: ./configure --prefix=/usr/local/cross-tools/i386-mingw32&lt;br /&gt;
: make&lt;br /&gt;
: sudo make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Get the Makefile and make ===&lt;br /&gt;
&lt;br /&gt;
[http://bumba.net/~hmaon/oxc/Makefile.mingw-hmaon Download my Makefile.] It&#039;s based on Makefile.simple and Michal&#039;s gitbuilder file. Place the file in OpenXcom/src and `make`! &lt;br /&gt;
&lt;br /&gt;
Note: -lws2_32 is only needed for ntohl(), used by the FLAC library iirc. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MXE ==&lt;br /&gt;
Michal uses a different setup for his own builds and gitbuilder, based on [http://mxe.cc/ MXE]. I haven&#039;t tried MXE myself but supposedly its compiler rejects the -msse2 flag. On the other hand, it looks like it&#039;ll build all the libraries for you!&lt;/div&gt;</summary>
		<author><name>Hmaon</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Compiling_with_MinGW_(OpenXcom)&amp;diff=44702</id>
		<title>Compiling with MinGW (OpenXcom)</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Compiling_with_MinGW_(OpenXcom)&amp;diff=44702"/>
		<updated>2013-02-18T22:11:58Z</updated>

		<summary type="html">&lt;p&gt;Hmaon: instructions for compiling with MinGW on Ubuntu 12x&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Compiling on Ubuntu 12.10 or 12.04LTS ==&lt;br /&gt;
&lt;br /&gt;
=== Install the cross-compiler ===&lt;br /&gt;
&lt;br /&gt;
`apt-get install g++-mingw-w64-i686`&lt;br /&gt;
&lt;br /&gt;
This is the compiler targeting Win32/x86. If you want to build a 64-bit binary, you&#039;re on your own for libraries.&lt;br /&gt;
&lt;br /&gt;
=== Grab the source ===&lt;br /&gt;
&lt;br /&gt;
e.g., `git clone https://github.com/SupSuper/OpenXcom.git`&lt;br /&gt;
&lt;br /&gt;
Don&#039;t have git installed? Install it with `apt-get install git`.&lt;br /&gt;
&lt;br /&gt;
=== Download the prerequisite libraries ===&lt;br /&gt;
&lt;br /&gt;
Building all the prerequisites from source is a good way to waste a day of your life. Some of them are availalbe in the stock package repositries, such as libsdl and libogg, but the majority are not. I recommend downloading [http://bumba.net/~hmaon/oxc/OXC-mingw32-cross-tools.tar.xz the tarball of static libraries I&#039;ve compiled].&lt;br /&gt;
&lt;br /&gt;
Supposing that you&#039;ve downloaded the file to ~/Downloads, install the contents with the following commands: `cd / ; tar xvJf ~/Downloads/OXC-mingw32-cross-tools.tar.xz`. This will place a bunch of files in /usr/local/cross-tools/i386-mingw32 so if you don&#039;t want that to happne, you&#039;re on your own.&lt;br /&gt;
&lt;br /&gt;
This fileset includes a 64-bit pkg-config binary. If you need a 32-bit one, build it with the following steps:&lt;br /&gt;
: apt-get source pkg-config&lt;br /&gt;
: cd pkg-config-*&lt;br /&gt;
: ./configure --prefix=/usr/local/cross-tools/i386-mingw32&lt;br /&gt;
: make&lt;br /&gt;
: sudo make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Get the Makefile and make ===&lt;br /&gt;
&lt;br /&gt;
[http://bumba.net/~hmaon/oxc/Makefile.mingw-hmaon Download my Makefile.] It&#039;s based on Makefile.simple and Michal&#039;s gitbuilder file. Place the file in OpenXcom/src and `make`! &lt;br /&gt;
&lt;br /&gt;
Note: -lws2_32 is only needed for ntohl(), used by the FLAC library iirc. &lt;br /&gt;
&lt;br /&gt;
Michal uses a different setup for his own builds and gitbuilder, based on [http://mxe.cc/ MXE]. I haven&#039;t tried MXE myself but supposedly its compiler rejects the -msse2 flag. On the other hand, it looks like it&#039;ll build all the libraries for you!&lt;/div&gt;</summary>
		<author><name>Hmaon</name></author>
	</entry>
</feed>