User Tools

Site Tools


en:tutorials:getting_codelite_for_windows

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:tutorials:getting_codelite_for_windows [2018/02/14 04:46 (18 months ago)]
iarwain ↷ Page moved from tutorials:getting_codelite_for_windows to en:tutorials:getting_codelite_for_windows
en:tutorials:getting_codelite_for_windows [2019/07/17 12:46 (5 weeks ago)] (current)
sausage New MinGW and instructions
Line 5: Line 5:
 These are: These are:
  
-  - Codelite 9.2.0 minimum is required+  - Codelite 9.0.0 minimum is required
   - You need to use a specific version and type of MinGW.   - You need to use a specific version and type of MinGW.
  
Line 15: Line 15:
 While there you can choose to donate to the project. While there you can choose to donate to the project.
  
-The version required must be at least 9.2.0. Although versions like the 6.x series will compile Orx projects fine, you will have problems trying to attach a debugger. So get the specific version or higher.+The version required must be at least 9.0.0. Although versions like the 6.x series will compile Orx projects fine, you will have problems trying to attach a debugger. So get the specific version or higher.
  
 <WRAP center round important 90%> <WRAP center round important 90%>
Line 28: Line 28:
  
   - [[http://​mingw.org|MinGW]] - this is the original vanilla project.   - [[http://​mingw.org|MinGW]] - this is the original vanilla project.
-  - [[http://​mingw-w64.org|Mingw-w64]] - this is a seperate ​project that provides ​64 bit version ​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
  
-Since Orx [[https://​bitbucket.org/​orx/​orx/​commits/​0e32f26ac0336b8b0a1f05583f9547de3ca87026|build commit 0e32f26]], ​TDM versions of MinGW can no longer be used. Nor are Mingw-w64 versions supported by Orx as yet.+Orx no longer supports the TDM versions or vanilla ​versions of MinGW. ​
  
-Therefore, the vanilla version of MinGW is the correct one to use from here on.+**MinGW-w64 is the correct one to use for Orx.**
  
-At the time of writing, ​5.3.0 is the version to use. But to check on the current version requirements,​ visit the [[https://​github.com/​orx/​orx#​supported-platforms|Orx supported platforms here]].+At the time of writing, ​8.1.0 is the version to use. But to check on the current version requirements,​ visit the [[https://​github.com/​orx/​orx#​supported-platforms|Orx supported platforms here]].
  
  
 ===== Getting MinGW ===== ===== Getting MinGW =====
  
-Start by downloading the MinGW installer at: https://sourceforge.net/projects/​mingw/​files/​latest/download+Start by downloading the MinGW-w64 installer at: https://mingw-w64.org/doku.php/download/​mingw-builds
  
 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 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 ​mingw32** and **Updating the PATH environment variable**.+Follow the steps titled **Getting ​MinGW-w64** and **Updating the PATH environment variable**.
  
  
 ===== Telling Codelite about the new Compiler ===== ===== Telling Codelite about the new Compiler =====
  
-  ​In Codelite, go to Settings / Build Settings. +  ​In Codelite, go to Settings / Build Settings. 
-  ​Click the orange "Scan for compilers"​ button. +  ​Click the orange "Scan for compilers"​ button. 
-  ​The MinGW compiler you installed will become listed. +  ​The MinGW compiler you installed will become listed. 
-  - Double click it to set as the default ​compiler. +  ​* If you installed both 32 and 64-bit compilers, ​it may not detect them both. If not, add it manually with the add button. 
-  ​Ok to close the dialog. +  * Once both compilers are added, edit the one called: ''​gnu g++''​. We are going to make this one switchable between 32 and 64-bit 
-  ​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 from the dropdown again. ​+  * Change ​the settings to the following:​ 
 + 
 +{{ :​en:​tutorials:​codelite-compiler-settings.png?nolink |}} 
 + 
 +  ​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.  
 + 
 +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.
  
 You're all good to go.  You're all good to go. 
  
en/tutorials/getting_codelite_for_windows.txt · Last modified: 2019/07/17 12:46 (5 weeks ago) by sausage