| Downloads
 Wiki
 Build CodeLite
 Devs
 | HomePageOn this page... (hide) Building CodeLiteIf you are looking for how to build codelite, use the below links: Building clang (Linux)codelite uses libclang for its code completion engine. clang.so is provided in the codelite's source tree, however, these binaries may not be compatible with your own distro, in this case you will need to build one by yourself. In a more recent versions of codelite, liblldb (the LLVM based debugger) is also required In this section I will cover how to build clang/lldb under Linux Step 1: Getting the sources + compiling 
 svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm/tools/ svn co http://llvm.org/svn/llvm-project/cfe/trunk clang svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb 
 sudo apt-get install build-essential subversion swig python2.7-dev libedit-dev libncurses5-dev ninja-build 
 Using CMake: cd /home/eran/llvm mkdir build-release cd build-release cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release ninja When the compilation is over, locate libclang.so and copy it to its proper location  Building clang (Windows)Use CMake + MSYS to build clang: 
 Open MSYS shell and type: cd /home/eran/llvm mkdir build-release cd build-release cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release .. mingw32-make -j8 When the compilation is completed, copy  Building clang (OSX)Building clang on OSX is similar to Linux with 1 minor change: on OSX, we will be using clang to build clang First, checkout the sources: cd /Users/eran svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm/tools/ svn co http://llvm.org/svn/llvm-project/cfe/trunk clang Next, run cmake and build: cd /Users/eran/llvm mkdir build-release cd build-release cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_LIBCXX=1 ninja |