Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 2.62 KB

README.md

File metadata and controls

80 lines (55 loc) · 2.62 KB

What is CodeLite?

CodeLite is an open source, free, cross platform IDE for the C/C++ programming languages which runs on all major Platforms ( OSX, Windows and Linux )

You can download pre-built binaries for Windows / OSX and Linux from our main Download Page

More information can be found here:


Linux logo Building CodeLite on Linux

To build CodeLite on you computer you will need these packages:

  • wxWidgets 3.0 or later
  • The gtk development package: often called libgtk2.0-dev or wxGTK-devel or similar
  • pkg-config (which usually comes with the gtk dev package)
  • The build-essential package (or the relevant bit of it: g++, make etc)
  • git
  • cmake

You should have wxWidgets 3.0 or later built on your machine. If you don't know how to build (or you're just lazy ...) you can download it install wxWidgets from CodeLite's repository

On Ubuntu / Debian you can install all of the above (except for wxWidgets 3.0) by typing:

sudo apt-get install libgtk2.0-dev pkg-config build-essential git cmake libssh-dev

Git clone the sources:

git clone https://github.com/eranif/codelite.git

Run cmake and build codelite:

cd codelite
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
sudo make install

Windows Logo Building CodeLite on Windows

Git clone the sources

git clone https://github.com/eranif/codelite.git
  • Download codelite installer for Windows from our Download Page
  • Download wxWidgets 3.0 installer. Also from our Download Page
  • Open the workspace LiteEditor.workspace (located in the codelite folder)
  • Select the configuration Win Release Unicode hit F7
  • When the compilation is over, close the workspace
  • Next, locate the workspace codelite_utils/codelite_utils.workspce and open it
  • Select the Release build configuration hit F7 and wait for the compilation to end
  • Close CodeLite
  • To update your installation with the new codelite, close codelite and from a CMD.EXE window navigate to codelite-sources/Runtime/ and run the file