Skip to content

Latest commit

 

History

History
189 lines (158 loc) · 5.35 KB

install.md

File metadata and controls

189 lines (158 loc) · 5.35 KB

juCi++ Installation Guide

Debian testing/Linux Mint/Ubuntu

Install dependencies:

sudo apt-get install git cmake make g++ libclang-3.8-dev liblldb-3.8-dev clang-format pkg-config libboost-filesystem-dev libgtksourceviewmm-3.0-dev aspell-en libaspell-dev libgit2-dev exuberant-ctags

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake -DCMAKE_CXX_COMPILER=g++ ..
make
sudo make install

Debian stable/Linux Mint Debian Edition/Raspbian

Install dependencies:

sudo apt-get install git cmake make g++ libclang-3.5-dev liblldb-3.5-dev clang-format-3.5 pkg-config libboost-filesystem-dev libgtksourceviewmm-3.0-dev aspell-en libaspell-dev libgit2-dev exuberant-ctags

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake -DCMAKE_CXX_COMPILER=g++ ..
make
sudo make install

Arch Linux/Manjaro Linux

Package available in the Arch User Repository: https://aur.archlinux.org/packages/jucipp-git/

If you have the arch package yaourt installed:

yaourt -S jucipp-git

Alternatively, follow the instructions below.

Install dependencies:

sudo pacman -S git cmake pkg-config make clang lldb gtksourceviewmm boost aspell aspell-en libgit2 ctags

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake ..
make
sudo make install

Fedora 23

Install dependencies:

sudo dnf install git cmake make gcc-c++ clang-devel clang lldb-devel boost-devel gtksourceviewmm3-devel gtkmm30-devel aspell-devel aspell-en libgit2-devel ctags

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake -DCMAKE_CXX_COMPILER=g++ ..
make
sudo make install

Mageia 5

Mageia doesn't support LLDB, but you can compile without debug support.

Install dependencies:

32-bit:

sudo urpmi git cmake make gcc-c++ clang libclang-devel libboost-devel libgtkmm3.0-devel libgtksourceviewmm3.0-devel libaspell-devel aspell-en libgit2-devel

64-bit:

sudo urpmi git cmake make gcc-c++ clang lib64clang-devel lib64boost-devel lib64gtkmm3.0-devel lib64gtksourceviewmm3.0-devel lib64aspell-devel aspell-en libgit2-devel

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake -DCMAKE_CXX_COMPILER=g++ ..
make
sudo make install

OpenSUSE Tumbleweed

Install dependencies:

sudo zypper install patterns-devel-base-devel_basis patterns-devel-C-C++-devel_C_C++ git-core cmake ctags clang-devel lldb-devel gtkmm3-devel aspell-devel libgit2-devel gtksourceviewmm-devel

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=g++ ..
make
sudo make install

OS X with Homebrew (http://brew.sh/)

Installing llvm may take some time, and you need to follow the lldb code signing instructions. For an easier dependency install, but without debug support, remove --with-lldb below.

Install dependencies:

brew install --with-clang --with-lldb llvm
brew install cmake pkg-config boost gtksourceviewmm3 aspell clang-format libgit2 ctags

Get juCi++ source, compile and install:

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake ..
make
make install

Windows with MSYS2 (https://msys2.github.io/)

See cppit#190 for details on adding debug support in MSYS2

Install dependencies (replace x86_64 with i686 for 32-bit MSYS2 installs):

pacman -S git mingw-w64-x86_64-cmake make mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang mingw-w64-x86_64-gtkmm3 mingw-w64-x86_64-gtksourceviewmm3 mingw-w64-x86_64-boost mingw-w64-x86_64-aspell mingw-w64-x86_64-aspell-en mingw-w64-x86_64-libgit2 mingw-w64-x86_64-universal-ctags-git

Note that juCi++ must be built and run in a MinGW Shell (for instance MinGW-w64 Win64 Shell).

Get juCi++ source, compile and install (replace mingw64 with mingw32 for 32-bit MSYS2 installs):

git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw64 ..
make
make install

Before running juCi++ on MSYS2, you currently need to recompile and reinstall gtksourceviewmm3:

git clone git://github.com/Alexpux/MINGW-packages
cd MINGW-packages/mingw-w64-gtksourceviewmm3
makepkg-mingw -sLf
pacman -U mingw-w64-x86_64-gtksourceviewmm3*

Run

juci

Alternatively, you can also include directories and files:

juci [directory] [file1 file2 ...]