User Tools

Site Tools


en:tutorials:orx:windows:getting_codelite_for_windows

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:getting_codelite_for_windows [2020/08/19 07:46 (4 years ago)] – ↷ Links adapted because of a move operation sausageen:tutorials:orx:windows:getting_codelite_for_windows [2022/06/28 23:18 (21 months ago)] (current) sausage
Line 30: Line 30:
   - [[https://mingw-w64.org/doku.php/download/mingw-builds|Mingw-w64]] - this is a separate project that provides both 64-bit and 32-bit versions of MinGW.    - [[https://mingw-w64.org/doku.php/download/mingw-builds|Mingw-w64]] - this is a separate project that provides both 64-bit and 32-bit versions of MinGW. 
   - [[http://tdm-gcc.tdragon.net|TDM-GCC]] - this is a variation of the original MinGW project and is traditionally packaged with older Codelite and Code::Blocks IDEs   - [[http://tdm-gcc.tdragon.net|TDM-GCC]] - this is a variation of the original MinGW project and is traditionally packaged with older Codelite and Code::Blocks IDEs
 +
 +Additionally, when you install newer versions of Codelite, it will ask you to Scan or Install a MinGW. It will install the latest if you choose to. Currently, we recommended to pause at that point and follow the instructions below to ensure you have the right version of MinGW.
  
 Orx no longer supports the TDM versions or vanilla versions of MinGW.  Orx no longer supports the TDM versions or vanilla versions of MinGW. 
Line 40: Line 42:
 ===== Getting MinGW ===== ===== Getting MinGW =====
  
-Start by downloading the MinGW-w64 installer at: https://mingw-w64.org/doku.php/download/mingw-builds +Start by downloading the MinGW-w64 installer at: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download
- +
-Run the installer and go through the steps. These are outlined on this page: http://orx-project.org/wiki/tutorials/compiling_orx_with_mingw32_gmake+
  
-Follow the steps titled **Getting MinGW-w64** and **Updating the PATH environment variable**.+Run the installer and go through the steps. These are outlined on this page: [[en:tutorials:orx:windows:compiling_orx_with_mingw32_gmake|Compiling Orx with MinGW-w64/gmake on Windows]], but only follow the steps titled **Getting MinGW-w64** and **Updating the PATH environment variable**.
  
  
Line 50: Line 50:
  
   * In Codelite, go to Settings / Build Settings.   * In Codelite, go to Settings / Build Settings.
-  * Click the orange "Scan for compilers" button.+  * Click the "Scan for compilers" button (latest versions of codelite, this is a magnify icon).
   * The MinGW compiler you installed will become listed.   * The MinGW compiler you installed will become listed.
   * If you installed both 32 and 64-bit compilers, it may not detect them both. If not, add it manually with the add button.   * If you installed both 32 and 64-bit compilers, it may not detect them both. If not, add it manually with the add button.
Line 59: Line 59:
  
   * Ok to close the dialog.   * Ok to close the dialog.
-  * Open your project, or Orx project. You can build your Workspace. You might be prompted to set a compiler for your project, if so, choose your compiler as ''gnu g++'' from the dropdown again. +  * Open your project, or Orx library project (for building orx itself). You can build your Workspace. You might be prompted to set a compiler for your project, if so, choose your compiler as ''gnu g++'' from the dropdown again. 
  
 Now you can compile any of the 32-bit or 64-bit build configurations and Codelite will know which version of the MinGW compiler to use. Now you can compile any of the 32-bit or 64-bit build configurations and Codelite will know which version of the MinGW compiler to use.
en/tutorials/orx/windows/getting_codelite_for_windows.1597848410.txt.gz · Last modified: 2020/08/19 07:46 (4 years ago) by sausage