<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://olddev.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Compiling_Minetest</id>
	<title>Compiling Minetest - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://olddev.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Compiling_Minetest"/>
	<link rel="alternate" type="text/html" href="https://olddev.minetest.org/index.php?title=Compiling_Minetest&amp;action=history"/>
	<updated>2026-04-15T06:01:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.7</generator>
	<entry>
		<id>https://olddev.minetest.org/index.php?title=Compiling_Minetest&amp;diff=17&amp;oldid=prev</id>
		<title>&gt;ROllerozxa at 18:00, 22 January 2023</title>
		<link rel="alternate" type="text/html" href="https://olddev.minetest.org/index.php?title=Compiling_Minetest&amp;diff=17&amp;oldid=prev"/>
		<updated>2023-01-22T18:00:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mbox|type=warning|text=&lt;br /&gt;
'''This page is redundant with the compilation instructions that exist in the [https://github.com/minetest/minetest Minetest README]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
''Link to the appropriate section in the README rather than here, and update any links that point to here!''&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
''This page is about compiling Minetest for desktop platforms. For compiling Minetest for Android, see [[Android]].''&lt;br /&gt;
&lt;br /&gt;
== Compiling on GNU/Linux ==&lt;br /&gt;
Please see the [https://github.com/minetest/minetest#compiling-on-gnulinux README.md file] for instructions.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* [http://forum.minetest.net/viewtopic.php?f=3&amp;amp;t=3837 One-line script for installing/compiling Minetest Git, for Debian / Ubuntu / Mint]&lt;br /&gt;
&lt;br /&gt;
== Compiling on Windows ==&lt;br /&gt;
Please see the [https://github.com/minetest/minetest#compiling-on-windows-using-msvc Minetest README].&lt;br /&gt;
&lt;br /&gt;
== Cross-compilation ==&lt;br /&gt;
To compile a win32 version of Minetest in Linux with [https://en.wikipedia.org/wiki/MinGW MinGW] you can use the build script in &amp;lt;code&amp;gt;[https://github.com/minetest/minetest/blob/master/util/buildbot/buildwin32.sh utils/buildbot/buildwin32.sh]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To compile a win64 version of Minetest in Linux with [https://en.wikipedia.org/wiki/MinGW MinGW] you can use the build script in &amp;lt;code&amp;gt;[https://github.com/minetest/minetest/blob/master/util/buildbot/buildwin32.sh utils/buildbot/buildwin64.sh]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have errors during cross compilation related to std::thread and std::mutex, this is due to mingw-w64 being incorrectly configured for cross compilation. &lt;br /&gt;
&lt;br /&gt;
To fix the errors, use the command:&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds: &amp;lt;code&amp;gt; sudo update-alternatives --config x86_64-w64-mingw32-g++ &amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For 32-bit Ubuntu Builds: &amp;lt;code&amp;gt; sudo update-alternatives --config i686-w64-mingw32-g++ &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For 32-bit Debian Builds: &amp;lt;code&amp;gt; sudo update-alternatives --config i586-w64-mingw32-g++ &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When provided with a prompt for which version to select, please choose &amp;quot;posix&amp;quot;. Then retry the buildwin32.sh or buildwin64.sh&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Engine]]&lt;br /&gt;
[[Category:Compiling Minetest]]&lt;/div&gt;</summary>
		<author><name>&gt;ROllerozxa</name></author>
	</entry>
</feed>