Difference between revisions of "HowTo compile on Win32 with MinGW"

From AMule Project FAQ
Jump to: navigation, search
(Doesn't make sense to have a windows installer section on "How to compile..")
(Noone will use MinGW Studio anymore anyway.)
Line 37: Line 37:
  
 
The compilation itself is actually just a matter of following the usual method: ''./configure && make''. Use your favorite flags on ./configure.
 
The compilation itself is actually just a matter of following the usual method: ''./configure && make''. Use your favorite flags on ./configure.
 
==  Compiling with [http://www.parinya.ca/mingwstudio.html MinGW Studio]  ==
 
 
'''NOTE:''' The compilation with [http://www.parinya.ca/mingwstudio.html MinGW Studio] is deprecated right now and currently does not function. It might function again in the future.
 
 
As of  2004/07/17, you can find, in [http://www.gnu.org/software/cvs CVS], the file ''amule.msp'' which is the project file relative to the [http://www.parinya.ca/mingwstudio.html MinGW Studio] IDE ([http://www.gnu.org/philosophy/free-sw.html Free] and under [http://www.gnu.org/copyleft/gpl.html GPL] at http://www.parinya.ca/ and shipped with precompiled [[wxWidgets|wxMSW]]).
 
 
Install [http://www.parinya.ca/mingwstudio.html MinGW Studio], add [http://www.zlib.org Zlib] and [http://curl.haxx.se Curl] compiled libs in The [http://www.parinya.ca/mingwstudio.html MinGW Studio] tree.
 
 
Then, open ''amule.msp'' with [http://www.parinya.ca/mingwstudio.html MinGW Studio], press '''F7''', and [[aMule]] "should" be compiled :)
 
 
Yes, I know, "compile" is not the same as "work" ... But it is a great begining
 

Revision as of 14:35, 13 August 2005

Originally by Madcat

English | Deutsch

This wiki page only supports the latest CVS version of aMule.

Requirements for compiling aMule

Note: Some of these require manually moving includes and libraries into their correct directories.

Common guidelines, issues, solutions

When compiling wxWidgets, you should make use of the following configure flags: --disable-shared --without-checklistbox

Compile zlib with --prefix=/mingw or zlib detection in aMule will not work.

Link statically against zlib to avoid distributing extranous DLLs (and generally make life simpler).

Compilation

The compilation itself is actually just a matter of following the usual method: ./configure && make. Use your favorite flags on ./configure.