User Tools

Site Tools


en:tutorials:orx:windows:getting_codelite_for_windows

This is an old revision of the document!


Codelite for Windows

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.

These are:

  1. Codelite 9.2.0 minimum is required
  2. You need to use a specific version and type of MinGW.

Getting Codelite

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.

Which is the the right MinGW?

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:

  1. MinGW - this is the original vanilla project.
  2. Mingw-w64 - this is a seperate project that provides a 64 bit version of MinGW.
  3. TDM-GCC - 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, 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.

At the time of writing, 5.3.0 is the version to use. But to check on the current version requirements, visit the Orx readme here (see under the heading: Supported Platforms).

Getting MinGW

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

  1. In Codelite, go to Settings / Build Settings.
  2. Click the orange “Scan for compilers” button.
  3. The MinGW compiler you installed will become listed.
  4. Double click it to set as the default compiler.
  5. Ok to close the dialog.
  6. 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.

en/tutorials/orx/windows/getting_codelite_for_windows.1491719283.txt.gz · Last modified: 2017/05/30 00:50 (7 years ago) (external edit)