Mac OSX 10.5.4(Intel) / Mac OS X 10.4(PPC)


Download the zipped Mac bundle from here: https://sourceforge.net/project/showfiles.php?group_id=202033&package_id=284428

Windows


Step 1: Download and install CodeLite


Download the installer from here.

If you chose any of the installers that includes MinGW bundle you are all done and can skip the next steps

Step 2: Download and install MinGW


MinGW is a free, open-source GNU Compiler Collection (GCC) for Windows.
Please follow the steps described in Installing MinGW .

Step 3: Download and install GNU Debugger (gdb)


This step is required if you wish to debug applications under CodeLite.

  • Download gdb 7.1 from here.
  • Extract the file to a directory of your choice.

Step 4: Configure CodeLite


  • Launch CodeLite
  • Configure the debugger:
    • You need to tell CodeLite where the GNU debugger is:
    • This is configured via Settings > Debugger Settings > Loaded Debugger > Debugger Path
    • Example: H:\MinGW\gdb\bin\gdb.exe

Step 5: wxWidgets Developers only


If you wish to use CodeLite to develop wxWidgets applications or wish to build CodeLite itself, please see Getting ready for wxWidgets Development under Windows

Linux


CodeLite Packages

There are i386 and x86_64 packages for ubuntu 9.10 (karmic), fedora 11and 12, and opensuse 11.1 and 11.2 (and src rpms so you can build your own for earlier releases) available from here.

To install the .deb package, just type the following:

 sudo dpkg -i <deb file name>

If you get missing dependency errors (e.g. libcurl3, libwxgtk2.8-0 or libgtk), try:

 sudo apt-get -f install

The above command will attempt to install the missing dependencies (if they are available in the repositories) and will complete the CodeLite installation.

The rpms can be installed as usual, with:

 #> rpm -Uvh ./codelite-*.rpm

wxWidgets

CodeLite uses the wxWidgets toolkit, so you must install this. Almost all distros have a package (the name usually starts with wxgtk or libwxgtk). If you wish to build CodeLite from source, or to develop wxWidgets apps, you will also need the development package (wxgtk-dev or libwxgtk-devel or similar). The wx version must be at least 2.8.5; unless you're feeling adventurous, stick to the stable wx releases, though Codelite does currently work on the wx svn trunk (that will become wx2.9.2). There are also the latest debian and ubuntu packages available via http://www.wxwidgets.org/downloads/, as well as wxWidgets tarballs.

e.g. To install the wxWidgets package on *buntu:

 sudo apt-get install libwxgtk2.8-dev

Alternatively, to build wxWidgets from source:
Install your distro's gtk2 devel package (which is libgtk2.0-dev in ubuntu) plus sensible things like 'g++' and 'make'.
Download the current stable wxGTK tarball and do:

 tar -xzf ./wxGTK-2.8.11.tar.gz
 cd wxGTK-2.8.11
 mkdir build_gtk
 cd build_gtk
 ../configure --enable-unicode
 make
 [Become the superuser]
 make install
 ldconfig

If you're going to develop wxWidgets apps, adding --enable-debug to the configure line would be a vastly good idea.

CodeLite from source

For other Linux distros, you can build CodeLite from source. There's a tarball at the above url, or you can checkout the latest CodeLite version from svn:

 svn co https://codelite.svn.sourceforge.net/svnroot/codelite/trunk codelite

Once the tarball is untarred or the checkout completed, you can create a 'Release Unicode' build with:

 cd codelite/
 ./configure 
 make
 [Become the superuser]
 make install

Configure options include --debug (needed if you have a wx debug build) and --prefix=</path/to/your/preferred/destination> --plugins-dir=</path/to/your/preferred/destination>. (You can put the plugins in the same destination dir or a different one; I do ./configure --prefix=$(pwd()/CL-install --prefix=$(pwd()/CL-install/lib but anywhere should work, provided the paths don't contain a space.)

CodeLite requires the following dependencies:

  • wxWidgets >=2.8.4 (either self-build, or both lib and devel packages)
  • lib gtk2.0 and friends

The latter should have been installed already when you installed/built wxWidgets but, if you still need it, do e.g. sudo apt-get install libgtk2.0-dev

FreeBSD


Same as for Linux; the only difference is that you should use 'gmake' rather than 'make'

 svn co https://codelite.svn.sourceforge.net/svnroot/codelite/trunk codelite
 cd codelite/
 su
 ./configure 
 gmake 
 gmake install