<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.97.80.135</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=87.97.80.135"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/87.97.80.135"/>
		<updated>2026-04-05T02:18:29Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_compile_on_Win32_with_MinGW</id>
		<title>HowTo compile on Win32 with MinGW</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_compile_on_Win32_with_MinGW"/>
				<updated>2008-02-20T06:44:28Z</updated>
		
		<summary type="html">&lt;p&gt;87.97.80.135: /* Compiling the libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[HowTo compile on Win32-de|German]] | [[HowTo compile on Win32-fr|French]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This wiki page only covers the latest [[aMule_CVS|CVS]] version of [[aMule]], not releases in the 1.x.x or 2.x.x branches.&lt;br /&gt;
&lt;br /&gt;
''For those of you that don't want to compile [[aMule]] from source, there is also the option of the [[Win32_binary|aMule Windows Installer]].''&lt;br /&gt;
&lt;br /&gt;
== Requirements for compiling [[aMule]] ==&lt;br /&gt;
&lt;br /&gt;
You will need the following packages:&lt;br /&gt;
&lt;br /&gt;
*[http://www.microsoft.com/windows Windows] port of [http://gcc.gnu.org GNU C compiler], [http://www.mingw.org MinGW] -&amp;gt; [http://prdownloads.sourceforge.net/mingw/MinGW-5.1.3.exe?download Download (5.1.3)]&lt;br /&gt;
*Minimal [http://www.gnu.org GNU] shell for [http://www.microsoft.com/windows Windows], [http://www.mingw.org/msys.shtml MSys] -&amp;gt; [http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download Download (1.0.10)]&lt;br /&gt;
*Developer toolkit for [http://www.mingw.org/msys.shtml MSys] (for [http://www.gnu.org/software/cvs CVS] &amp;amp; co) -&amp;gt; [http://prdownloads.sf.net/mingw/msysDTK-1.0.1.exe?download Download (1.0.1)]&lt;br /&gt;
*[http://www.gnu.org/software/libiconv LibIConv] (required by [http://www.gnu.org/software/gettext gettext]) -&amp;gt; [http://prdownloads.sf.net/mingw/libiconv-1.8.0-2003.02.01-1.exe?download Download (1.8)]&lt;br /&gt;
*[http://www.gnu.org/software/gettext GetText] (for [http://www.gnu.org/software/gettext po files], [http://www.gnu.org/software/automake/automake.html autogen.sh], etc) -&amp;gt; [http://prdownloads.sf.net/mingw/gettext-0.11.5-2003.02.01-1.exe?download Download (0.11.5)]&lt;br /&gt;
*[http://www.zlib.org zlib] compression library -&amp;gt; [http://www.zlib.net/zlib-1.2.3.tar.gz Download (1.2.3)]&lt;br /&gt;
*[http://www.microsoft.com/windows Windows] port of [[wxWidgets]] library (knows as [[wxWidgets|wxMSW]]) -&amp;gt; [http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.6.1.zip Download (2.6.1)]&lt;br /&gt;
* [http://www.cryptopp.com/ Crypto++] library -&amp;gt; [http://prdownloads.sourceforge.net/cryptopp/cryptopp552.zip Download(5.5.2)]&lt;br /&gt;
*[[aMule]]'s latest release sources or [[aMule CVS]] -&amp;gt; [http://www.hirnriss.net/?area=cvs Download aMule]&lt;br /&gt;
* ActivePerl -&amp;gt; [http://www.activestate.com/store/activeperl/download/ Download]&lt;br /&gt;
&lt;br /&gt;
Also, 800MB-1500MB free space on your hard disk (around 40MB to download the above packages and the rest for temporary compilation files and installations. The amount of space needed will largely depend on the configuration flags you use).&lt;br /&gt;
&lt;br /&gt;
As a reference, the whole compilation process will take around 3 hours on a medium-high resourced computer.&lt;br /&gt;
&lt;br /&gt;
== Installing the Minimal System ==&lt;br /&gt;
&lt;br /&gt;
The first step is to create a [http://www.kernel.org Linux]-like environment, which is required in order to be able to perform the build. This can be done by following these steps '''in this order''':&lt;br /&gt;
&lt;br /&gt;
#Install [http://www.mingw.org MinGW]. Select ''Compact installation'' unless you know what you are doing. When it prompts you for a folder, the default (''C:\mingw'') is slightly messy but the safer selection.&lt;br /&gt;
#Install [http://www.mingw.org/msys.shtml MSys]. When it prompts you for the [http://www.mingw.org MinGW] folder, it's very important to specify it correctly. Failure on this step will stop any compilation attempts. If for some reason you fail, install [http://www.mingw.org/msys.shtml MSys] again, or edit the file ''/etc/fstab'' in your [http://www.mingw.org/msys.shtml MSys] environment.&lt;br /&gt;
#Install the [http://www.mingw.org/msys.shtml MSys] developer toolkit.&lt;br /&gt;
#Install [http://www.gnu.org/software/libiconv LibIConv].&lt;br /&gt;
#Install [http://www.gnu.org/software/gettext GetText].&lt;br /&gt;
#Install ActivePerl.&lt;br /&gt;
&lt;br /&gt;
== Compiling the libraries ==&lt;br /&gt;
&lt;br /&gt;
There are three libraries that [[aMule]] will need compiled: [http://www.zlib.org zlib] [[libcrypto]] and [[wxWidgets]].&lt;br /&gt;
&lt;br /&gt;
We will compile them from [http://www.mingw.org/msys.shtml MSys], so just run it. Once you are running [http://www.mingw.org/msys.shtml MSys], you'll be on your home folder. Copy the [http://www.zlib.org zlib] and [[wxWidgets]] files you downloaded above into this folder (something like ''C:\msys\1.0\home\'''user''''').&lt;br /&gt;
&lt;br /&gt;
The steps for compiling them is as follow:&lt;br /&gt;
(Hint: If you are using a multi-core system, you can speed up compiling by adding &amp;quot;-jX&amp;quot; after the make command, where X is the number of cores in your system plus one. For instance, ''./configure --prefix=/mingw &amp;amp;&amp;amp; make -j3 &amp;amp;&amp;amp; make install'')&lt;br /&gt;
&lt;br /&gt;
#[http://www.zlib.org zlib]: Uncompress [http://www.zlib.org zlib], cd to the newly created directory and run ''./configure --prefix=/mingw &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install''&lt;br /&gt;
#[[wxWidgets]]: Uncompress [[wxWidgets]], cd to the newly created directory and run ''./configure --enable-unicode --disable-shared --without-checklistbox &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install''&lt;br /&gt;
#[[Libcrypto]]: Uncompress the Crypto++ libraries (you'll need to create a directory yourself!), cd to the newly created directory and run ''make &amp;amp;&amp;amp; PREFIX=/mingw/ make install''&lt;br /&gt;
&lt;br /&gt;
If you want to help us developers, you can add ''--enable-debug'' flag to the [[wxWidgets]] configure command, right after ''--disable-shared'', but be warned it will result into an ''aMule.exe'' file bigger than 100MB.&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
&lt;br /&gt;
Ok, we're all done with the compilation environment. Let's do the last step: compiling [[aMule]].&lt;br /&gt;
&lt;br /&gt;
First of all, extract [[aMule]]'s sources and enter the newly created folder.&lt;br /&gt;
&lt;br /&gt;
The compilation itself is actually just a matter of following the usual method: ''./configure &amp;amp;&amp;amp; make''. Use your favorite flags on ''./configure'', for example, ''--disable-debug'' will remove debug info, but will also make it harder for us developers to understand the bugs you might find.&lt;br /&gt;
&lt;br /&gt;
You might want to compile just the remote GUI: the flags would be ''--disable-monolithic --disable-ed2k --enable-amule-gui''&lt;br /&gt;
&lt;br /&gt;
'''Beware:''' The following programs do not work yet on [http://www.microsoft.com/windows Windows]:&lt;br /&gt;
*[[aMuled|aMule Daemon]]: Doesn't even compile.&lt;br /&gt;
*[[CAS]]: Fails to find the [[signature]] file.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To keep the size of the binaries down, you can run ''strip'' from within [http://www.mingw.org/msys.shtml MSys], e.g. ''find . -name '*.exe' -print | xargs -r strip''.&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&lt;br /&gt;
To run the binaries we've created you need ''mingwm10.dll''. This file can be found in ''C:\MinGW\bin\mingwm10.dll'' (or whatever path you used to install [http://www.mingw.org MinGW]).&lt;br /&gt;
&lt;br /&gt;
You now have to place this file in some place so that the binaries find it when they are executed. Here you have three options:&lt;br /&gt;
&lt;br /&gt;
#Place it in the same folder where the binaries are (if you have them spread in several different folders, copy this file once into each folder. Since it is a very small file, it is not much of a loss).&lt;br /&gt;
#Place it in ''C:\windows'' or some other any other path where [http://www.microsoft.com/windows Windows] might look for libraries (such as ''C:\Windows\System'' or ''C:\Windows\System32'').&lt;br /&gt;
#Add ''C:\MinGW\bin'' (or whatever path you used to install [http://www.mingw.org MinGW]) to your ''PATH'' environment variable.&lt;br /&gt;
&lt;br /&gt;
Now... just run your binaries and have fun with [[aMule]] on your [http://www.microsoft.com/windows Windows] box!&lt;br /&gt;
&lt;br /&gt;
'''Note:''' By default, the binaries are compiled to ''C:\MSys\1.0\home\'''user'''\amule-2.0.3\src\''.&lt;br /&gt;
&lt;br /&gt;
== Having different languages ==&lt;br /&gt;
&lt;br /&gt;
Now [[aMule]] will be successfully running, but you will not be able to use any other language but default english.&lt;br /&gt;
&lt;br /&gt;
TO be able to choose between any of the lot of languages [[aMule]] is shipped with, from [http://www.mingw.org/msys.shtml MSys] go to [[aMule]]'s extracted folder and then into ''po/'' folder. Something like the following should do it:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 cd amule-2.0.3/po&lt;br /&gt;
&lt;br /&gt;
Now install the languages:&lt;br /&gt;
&lt;br /&gt;
 make install-data-yes&lt;br /&gt;
&lt;br /&gt;
This language files are now in ''C:\MSys\1.0\local\share\locale'', so exit [http://www.mingw.org/msys.shtml MSys], go to ''C:\msys\1.0\local\share\locale'' and copy that folder to the folder were you are keeping your compiled ''amule.exe'' and ''amulegui.exe'' files.&lt;br /&gt;
&lt;br /&gt;
== Downloading precompiled win32 version ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Keep in mind this is a user contributed build. Install it at your own risk'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you prefer a stable (and more recent) build, you can grab amulegui from the stable 2.1.1 sources here:&lt;br /&gt;
http://conrausch.elise.no-ip.com/aMuleGUI-2.1.1-all_lang.zip&lt;br /&gt;
&lt;br /&gt;
Again, this is a user contributed build, which you should not trust ;). It works pretty well though. It is a little big (almost 3MB), but it contains the .dll plus all language packs that were available with the release. For problems with this one, please contact conrausch [at] gmx de&lt;br /&gt;
&lt;br /&gt;
== Author ==&lt;br /&gt;
Originally by '''[[User:Madcat|Madcat]]'''&lt;/div&gt;</summary>
		<author><name>87.97.80.135</name></author>	</entry>

	</feed>