This is an old revision of the document!
If you would like to use Codelite on Windows instead of Visual Studio, there's a few things required in order to use for developing Orx projects.
Codelite can be downloaded from: http://downloads.codelite.org
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.
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.
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. - Mingw-w64 http://mingw-w64.org - this is a seperate project that provides a 64 bit version 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
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.
Therefore, the vanilla version of MinGW is the correct one to use from here on.
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).
Start by downloading the MinGW installer at: https://sourceforge.net/projects/mingw/files/latest/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 mingw32 and Updating the PATH environment variable.
Telling Codelite about the new Compiler
- In Codelite, go to Settings / Build Settings - 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.