安装前:
tar -zxvf codelite.tar.gz
pkg install wx31-gtk3 libssh harfbuzz
cd codelite/
修改CMakeLists.txt文件78行,将/usr/include/harfbuzz改为/usr/local/include/harfbuzz
mkdir build-release
cd build-release
去/usr/local/bin目录下拷贝一份wxgtk3u-xxx-config为wx-config
cd /usr/local/bin
cp wxgtk3u-xxx-config wx-config
返回build-release目录
cmake .. -DCMAKE_BUILD_TYPE=Release -DCOPY_WX_LIBS=1
make
编译失败
官方的编译方法
Linux
To build CodeLite on your computer you will first need to Build wxWidgets from sources
Install libssh-dev and libsqlite3-dev packages (or similar, depending on your distro). On Ubuntu / Debian, you can use this command:
sudo apt install build-essential git cmake \
libssh-dev libsqlite3-dev
Git clone the sources:
git clone https://github.com/eranif/codelite.git
Build CodeLite:
cd codelite
mkdir build-release
cd build-release
cmake -DCMAKE_BUILD_TYPE=Release .. -DCOPY_WX_LIBS=1
make -j$(nproc)
sudo make install