User Tools

Site Tools


en:tutorials:orx:windows:compiling_orx_with_mingw32_gmake

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tutorials:compiling_orx_with_mingw32_gmake [2020/08/19 07:46 (4 years ago)] – ↷ Links adapted because of a move operation sausageen:tutorials:orx:windows:compiling_orx_with_mingw32_gmake [2022/06/28 23:08 (22 months ago)] (current) sausage
Line 11: Line 11:
 ===== Getting Orx from source ===== ===== Getting Orx from source =====
  
-This step is already covered under [[en:tutorials:cloning_orx_from_github|cloning orx]]. Please follow those instructions first.+This step is already covered under [[en:tutorials:orx:cloning_orx_from_github|cloning orx]]. Please follow those instructions first.
  
  
 ===== Getting MinGW-w64 ===== ===== Getting MinGW-w64 =====
  
-Orx works with MinGW-w64. Do not download the Mingw32 project, Orx does not support this compiler anymore. You can download the installer from: https://mingw-w64.org/doku.php/download/mingw-builds +Orx works with MinGW-w64. Do not download the Mingw32 project, Orx does not support this compiler anymore. You can download the installer from: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download
-You will want the ''mingw-w64-install.exe'' file. +
  
 <WRAP center round tip 80%> <WRAP center round tip 80%>
Line 25: Line 24:
  
   * Run the ''mingw-w64-install.exe'' file.   * Run the ''mingw-w64-install.exe'' file.
-  * If you want to install the 64-bit compiler, select the following options:+  * If you want to install the compiler for a 64-bit operating system, select the following options:
  
 {{ tutorials:tooling:install-mingw-64bit.png?nolink |}} {{ tutorials:tooling:install-mingw-64bit.png?nolink |}}
  
-  * Choose an installation directory. To avoid dramas, choose a folder without spaces in the path. Something like ''C:\MinGW-w64\x86_64-8.1.0-win32-seh'' is best.+  * Choose an installation directory. To avoid dramas, choose a folder without spaces in the path. Something like ''C:\MinGW64\x86_64-8.1.0-win32-seh'' is best.
   * Continue with the rest of the installation.   * Continue with the rest of the installation.
-  * If you want to install the 32-bit compiler as well, select the following options:+  * If you want to install the compiler for a 32-bit operating system, select the following options:
  
 {{ tutorials:tooling:install-mingw-32bit.png?nolink |}} {{ tutorials:tooling:install-mingw-32bit.png?nolink |}}
  
-  * Choose an installation directory. To avoid dramas, choose a folder without spaces in the path. Something like ''C:\MinGW-w64\i686-8.1.0-win32-dwarf'' is best.+  * Choose an installation directory. To avoid dramas, choose a folder without spaces in the path. Something like ''C:\MinGW64\i686-8.1.0-win32-dwarf'' is best.
   * Continue with the rest of the installation.   * Continue with the rest of the installation.
 +
 +See here for troubleshooting tips: https://stackoverflow.com/questions/46455927/mingw-w64-installer-the-file-has-been-downloaded-incorrectly
 +
 +<WRAP center round tip 80%>
 +The version of the compiler you chose above is regarding the toolchain itself, ie. on which host it's going to run (32bit Windows vs 64bit Windows).
 +Please note all the versions of MinGW-w64 can build both 32bit and 64bit applications.
 +</WRAP>
 +
  
 ===== Updating the PATH environment variable ===== ===== Updating the PATH environment variable =====
Line 42: Line 49:
  
   - Edit the System Environment Variables    - Edit the System Environment Variables 
-  - Add your MinGW bin folder locations into the PATH list, ie: ''C:\MinGW-w64\x86_64-8.1.0-win32-seh\bin'' and ''C:\MinGW-w64\i686-8.1.0-win32-dwarf\bin'' (depending where you installed it)+  - Add your MinGW bin folder locations into the PATH list, ie: ''C:\MinGW64\x86_64-8.1.0-win32-seh\bin'' and ''C:\MinGW64\i686-8.1.0-win32-dwarf\bin'' (depending where you installed it)
  
  
en/tutorials/orx/windows/compiling_orx_with_mingw32_gmake.1597848410.txt.gz · Last modified: 2020/08/19 07:46 (4 years ago) by sausage