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
Next revisionBoth sides next revision
tutorials:getting_codelite_for_windows [2016/11/10 04:31 (7 years ago)] – created sausageen:tutorials:orx:windows:getting_codelite_for_windows [2021/06/27 18:59 (3 years ago)] – Better link sausage
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 25: 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 usedNor are Mingw-w64 versions supported by Orx as yet.+Additionallywhen 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.
  
-Therefore, the vanilla version of MinGW is the correct one to use from here on.+Orx no longer supports the TDM versions or vanilla versions of MinGW. 
  
-At the time of writing, 5.3.0 is the version to use. But to check on the current version requirements, visit the [[https://bitbucket.org/orx/orx/src/28f21d66546d59938e34a316c0dcca8795ad2338/README.md?at=default&fileviewer=file-view-default|Orx readme here]]  (see under the heading: Supported Platforms).+**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 ===== ===== 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://sourceforge.net/projects/mingw-w64/
  
-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: [[en:tutorials:orx:windows:compiling_orx_with_mingw32_gmake|Compiling Orx with MinGW-w64/gmake on Windows]] 
  
-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: 
 + 
 +{{ tutorials:tooling: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/orx/windows/getting_codelite_for_windows.txt · Last modified: 2022/06/28 23:18 (21 months ago) by sausage