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

Next revision
Previous revision
en:tutorials:orx:windows:getting_codelite_for_windows [2016/11/10 04:24 (5 years ago)]
sausage created
en:tutorials:orx:windows:getting_codelite_for_windows [2021/06/27 18:59 (4 months ago)] (current)
sausage Better link
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%>
 When installing Codelite and running for the first time, a wizard will appear, giving the opportunity to download a MinGW compiler for you. These are TDM versions, don't download any of these. When installing Codelite and running for the first time, a wizard will appear, giving the opportunity to download a MinGW compiler for you. These are TDM versions, don't download any of these.
 +</​WRAP>​
 +
  
  
Line 24: Line 27:
 Codelite needs a compiler. It doesn'​t ship with one anymore. But you will need to pick the right MinGW. There are a few variations around: Codelite needs a compiler. It doesn'​t ship with one anymore. But you will need to pick the right MinGW. There are a few variations around:
  
-- [MinGW|http://​mingw.org] - this is the original vanilla project. +  ​- [[http://​mingw.org|MinGW]] - this is the original vanilla project. 
-Mingw-w64 http://​mingw-w64.org - 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.  
-TDM-GCC ​http://​tdm-gcc.tdragon.net - 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.  
 + 
 +**MinGW-w64 is the correct one to use for Orx.** 
 + 
 +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 =====
  
-Since Orx build commit 0e32f26 ​https://bitbucket.org/orx/orx/​commits/​0e32f26ac0336b8b0a1f05583f9547de3ca87026 , TDM versions of MinGW can no longer be used. Nor are Mingw-w64 versions supported by Orx as yet.+Start by downloading the MinGW-w64 installer at: https://sourceforge.net/projects/mingw-w64/
  
-Therefore, ​the vanilla version of MinGW is the correct one to use from here on.+Run the installer and go through ​the stepsThese are outlined on this page: [[en:​tutorials:​orx:​windows:​compiling_orx_with_mingw32_gmake|Compiling Orx with MinGW-w64/​gmake on Windows]] ​
  
-In terms of which version to use, at the time of writing 5.3.0 is the version to use. But to check on the current version requirements,​ check the Orx readme here https://​bitbucket.org/​orx/​orx/​src/​28f21d66546d59938e34a316c0dcca8795ad2338/​README.md?​at=default&​fileviewer=file-view-default (see under the heading: Supported Platforms).+Follow ​the steps titled **Getting MinGW-w64** and **Updating ​the PATH environment variable**.
  
-Getting MinGW 
  
-Start by downloading ​the MinGW installer at: https://​sourceforge.net/​projects/​mingw/​files/​latest/​download+===== Telling Codelite about the new Compiler =====
  
-Run the installer ​and go through ​the stepsThese are outlined on this pagehttp://​orx-project.org/​wiki/​tutorials/​compiling_orx_with_mingw32_gmake Follow the steps titled Getting mingw32 ​and Updating ​the PATH environment variable.+  * In Codelite, go to Settings / Build Settings. 
 +  * Click the orange "Scan for compilers"​ button. 
 +  * 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. 
 +  * Once both compilers ​are added, edit the one called''​gnu g++''​We are going to make this one switchable between 32 and 64-bit 
 +  * Change ​the settings to the following:
  
 +{{ tutorials:​tooling:​codelite-compiler-settings.png?​nolink |}}
  
-Telling Codelite about the new Compiler+  * 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. ​
  
-In Codelite, go to Settings / Build Settings +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.
-- Click the orange "Scan for compilers"​ button +
-- The MinGW compiler ​you installed will become listed. +
-- Double click it to set as the default compiler. +
-- 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 from the dropdown again+
  
 You're all good to go.  You're all good to go. 
  
en/tutorials/orx/windows/getting_codelite_for_windows.1478780672.txt.gz · Last modified: 2017/05/30 00:50 (4 years ago) (external edit)