Difference between revisions of "Development on Windows/fr"

From GIMX
Jump to: navigation, search
(Updating to match new version of source page)
Line 1: Line 1:
 
<languages />
 
<languages />
 +
<span class="mw-translate-fuzzy">
 
Cette page explique comment installer un environnement de compilation (basé sur MinGW) pour construire GIMX.<br />
 
Cette page explique comment installer un environnement de compilation (basé sur MinGW) pour construire GIMX.<br />
 
Elle explique aussi comment installer Eclipse CDT et comment effectuer un checkout.<br />
 
Elle explique aussi comment installer Eclipse CDT et comment effectuer un checkout.<br />
 
Sauf cas contraire, effectuer une installation par défaut (répertoires par défaut, etc...).
 
Sauf cas contraire, effectuer une installation par défaut (répertoires par défaut, etc...).
 +
</span>
  
==Git==
+
<span class="mw-translate-fuzzy">
 
 
[http://msysgit.googlecode.com/files/Git-1.8.4-preview20130916.exe Télécharger] Git et l'installer.
 
 
 
 
==MinGW/MSYS==
 
==MinGW/MSYS==
 +
</span>
  
Cette partie explique comment installer les outils de compilation.<br />
+
Download and install [http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ Msys2].
Télécharger et lancer [http://diyps3controller.googlecode.com/files/mingw-get-inst-20120426.exe Mingw 20120426].<br />
+
Make sure to follow the instructions from the Msys2 wiki.
Durant l'installation, dans le panneau "Select Components", ajouter "C++ Compiler" et "MSYS Basic System".
 
 
 
<div class="image200px">[http://gimx.fr/img/wiki/MinGW.jpg http://gimx.fr/img/wiki/MinGW.jpg]</div>
 
 
 
Ajouter ";C:\MinGW\bin;C:\MinGW\msys\1.0\bin" (sans guillemets, ne pas oublier le point virgule au début) à votre system PATH (Panneau de configuration > Système > Avancé > Variables d'environnement > Variables systèmes > Path > Éditer).
 
 
 
<div class="image200px">[http://gimx.fr/img/wiki/System.jpg http://www.gimx.fr/img/wiki/System.jpg]</div>
 
 
 
<div class="image200px">[http://gimx.fr/img/wiki/SystemProperties.jpg http://www.gimx.fr/img/wiki/SystemProperties.jpg]</div>
 
 
 
<div class="image200px">[http://gimx.fr/img/wiki/EnvVar.jpg http://www.gimx.fr/img/wiki/EnvVar.jpg]</div>
 
 
 
<div class="image200px">[http://gimx.fr/img/wiki/Path.jpg http://www.gimx.fr/img/wiki/Path.jpg]</div>
 
 
 
==Librairies==
 
  
Cette partie explique comment installer les librairies (libiconv, SDL, wxWidgets, libxml, zlib).<br />
+
If you are running a 32-bit Windows, install the "32-bit" of Msys2.<br />
Exécuter C:\MinGW\msys\1.0\msys.bat<br />
+
If you are running a 64-bit Windows, you can choose either the "64-bit" version or the "32-bit" version.
Installer wget:
 
  
    mingw-get install msys-wget
+
==Development tools==
  
Télécharger et lancer le script install.sh :
+
Run the Msys2 shell and type:
  
    wget <nowiki>https://raw.github.com/matlo/GIMX-build/master/win/install.sh</nowiki>
+
pacman --noconfirm -S wget
    ./install.sh
+
wget <nowiki>https://raw.githubusercontent.com/matlo/GIMX-build/master/win/install.sh</nowiki>
 +
./install.sh
  
 
==Compilation==
 
==Compilation==
  
 +
<span class="mw-translate-fuzzy">
 
Cette partie explique comment faire un checkout et comment compiler GIMX depuis la ligne de commande.<br />
 
Cette partie explique comment faire un checkout et comment compiler GIMX depuis la ligne de commande.<br />
 
Lancer C:\MinGW\msys\1.0\msys.bat<br />
 
Lancer C:\MinGW\msys\1.0\msys.bat<br />
 
Télécharger et exécuter build.sh :
 
Télécharger et exécuter build.sh :
 +
</span>
  
 
     wget <nowiki>https://raw.github.com/matlo/GIMX-build/master/win/build.sh</nowiki>
 
     wget <nowiki>https://raw.github.com/matlo/GIMX-build/master/win/build.sh</nowiki>

Revision as of 10:40, 10 June 2014

Other languages:
English • ‎français

Cette page explique comment installer un environnement de compilation (basé sur MinGW) pour construire GIMX.
Elle explique aussi comment installer Eclipse CDT et comment effectuer un checkout.
Sauf cas contraire, effectuer une installation par défaut (répertoires par défaut, etc...).

MinGW/MSYS

Download and install Msys2. Make sure to follow the instructions from the Msys2 wiki.

If you are running a 32-bit Windows, install the "32-bit" of Msys2.
If you are running a 64-bit Windows, you can choose either the "64-bit" version or the "32-bit" version.

Development tools

Run the Msys2 shell and type:

pacman --noconfirm -S wget
wget https://raw.githubusercontent.com/matlo/GIMX-build/master/win/install.sh
./install.sh

Compilation

Cette partie explique comment faire un checkout et comment compiler GIMX depuis la ligne de commande.
Lancer C:\MinGW\msys\1.0\msys.bat
Télécharger et exécuter build.sh :

   wget https://raw.github.com/matlo/GIMX-build/master/win/build.sh
   ./build.sh

Tous les binaires sont copiés dans C:\MinGW\msys\1.0\home\username\GIMX\setup.

Eclipse IDE

Cette partie n'est utile que si vous avez l'intention de modifier le code source. Si vous voulez seulement compiler GIMX, vous pouvez ignorer ceci.
Eclipse est un IDE qui peut être utilisé avec les outils de compilation MinGW/MSYS.
Assurez vous d'avoir un JRE java installé sur votre système.
Télécharger Eclipse IDE for C/C++ Developers. Le décompresser dans un répertoire quelconque.
Exécuter eclipse.exe.

Checkout du projet

Todo: add instructions.