CodeLite

CodeLite是一个开源、免费、跨平台的IDE,专门用于C、C ++、PHP和JavaScript编程语言,在所有主要平台上运行最佳。【CodeLite is an open source, free, cross platform IDE specialized in C, C++, PHP and JavaScript programming languages which runs best on all major Platforms 】

Github stars Tracking Chart

CodeLite是一个开源、免费、跨平台的IDE,专门用于C、C ++、PHP和JavaScript(主要用于使用Node.js的后端开发人员)编程语言,在所有主要平台(OSX,Windows和Linux)上运行最佳。

您可以为以下操作系统下载CodeLite

  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows 10
  • Debian/Ubuntu -- 访问我们的存储库以获取受支持的发行版的完整列表
  • Fedora/OpenSUSE
  • ArchLinux
  • Mac OSX 10.11及更高版本
  • FreeBSD -- 虽然我们没有为FreeBSD平台提供安装程序,但你可以从这里获得它

了解有关CodeLite功能的更多信息。

CodeLite根据GPLv2许可条款分发,但插件除外。

Overview

Name With Ownereranif/codelite
Primary LanguageC++
Program languageC++ (Language Count: 16)
PlatformBSD, Linux, Mac, Windows
License:GNU General Public License v2.0
Release Count57
Last Release Name17.9.0 (Posted on 2024-03-07 19:18:29)
First Release Namev3.5.0.5375 (Posted on )
Created At2014-01-20 09:42:52
Pushed At2024-04-26 19:15:33
Last Commit At2024-04-26 20:15:33
Stargazers Count2.1k
Watchers Count114
Fork Count441
Commits Count15.7k
Has Issues Enabled
Issues Count2922
Issue Open Count146
Pull Requests Count383
Pull Requests Open Count4
Pull Requests Close Count47
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

CircleCI
Join the chat at https://gitter.im/eranif/codelite

What is CodeLite?

CodeLite is a free, open source, cross platform IDE specialized in C, C++, PHP and JavaScript (mainly for backend developers using Node.js) programming languages, which runs best on all major platforms (Windows, macOS and Linux).

You can download pre-built binaries for Windows, macOS and Linux from our Download Page.

More information can be found here:


Building CodeLite on Linux

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

  • wxWidgets 3.1 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)
  • CMake
  • Git.

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 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 libwxbase3.0-dev libsqlite3-dev libwxsqlite3-3.0-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 .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j $(nproc)
sudo cmake --build . --target install

Building CodeLite on macOS

Prerequisites:

  • wxWidgets 3.1 or later
  • CMake
  • Git
  • Xcode
  • Xcode command-line tools
  • Homebrew.

Preparation:

  • (Optional) Make a separate folder for building if you want to get rid of all except the .app file after building
  • Install Xcode from Mac App Store
  • Install Xcode command-line tools: xcode-select --install
  • Install Homebrew:
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Update Homebrew: brew update
  • (Optional) Upgrade Homebrew packages: brew upgrade
  • Install Git: brew install git
  • Install CMake: brew install cmake
  • Install wxWidgets: brew install wxmac --dev --use-llvm

Clone the repo (lets assume that you have a folder /Users/YOU/src)

cd /Users/YOU/src
git clone https://github.com/eranif/codelite.git

the above will create the folder /Users/YOU/codelite

To build CodeLite:

cd /Users/YOU/codelite
mkdir build-release
cd build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j $(sysctl -n hw.physicalcpu)
cmake --build . --target install

You should now have an app bundle /Users/YOU/codelite/build-release/codelite.app

To launch CodeLite:

open /Users/YOU/codelite/build-release/codelite.app


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
  • Build wxWidgets 3.1 or later. See build instructions here
  • Open the workspace CodeLiteIDE.workspace (located in the CodeLite's folder)
  • Make sure that the project CodeLiteIDE is selected (the active project uses bold font)
  • Select the Win_x64_Release or Win_x86_Release (depending if you want to build a 32 or 64 bit version of CodeLite) and hit F7
  • When the compilation is over, close the workspace
  • Next, locate the workspace codelite_utils/codelite_utils.workspce and open it
  • Select the Win_x64_Release or Win_x86_Release (depending if you want to build a 32 or 64 bit version of CodeLite), 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 update64.bat OR update.bat (again, depending on your selected arch).
To the top