You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
3.6 KiB

10 years ago
# juCi++ Installation Guide
10 years ago
- Linux
- [Debian/Ubuntu 15](#debianubuntu-15)
- [Ubuntu 14/Linux Mint 17](#ubuntu-14linux-mint-17)
- [Arch Linux](#arch-linux)
- OS X
- [Homebrew](#os-x-with-homebrew-httpbrewsh)
- Windows
- [MSYS 2](#windows-with-msys2-httpsmsys2githubio)
10 years ago
## Debian/Ubuntu 15
Note that if you use a different libclang version, be sure to install the same version of lldb (dev package).
Install dependencies:
```sh
sudo apt-get install git cmake make g++ libclang-dev liblldb-3.5-dev pkg-config libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libboost-regex-dev libgtksourceviewmm-3.0-dev aspell-en libaspell-dev
sudo apt-get install clang-format-3.6 || sudo apt-get install clang-format-3.5
```
Get juCi++ source, compile and install:
```sh
git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake ..
make
sudo make install
```
10 years ago
10 years ago
## Ubuntu 14/Linux Mint 17
Install dependencies:
10 years ago
```sh
10 years ago
sudo apt-get install git cmake make g++ libclang-3.6-dev clang-format-3.6 pkg-config libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libboost-regex-dev libgtksourceviewmm-3.0-dev aspell-en libaspell-dev
10 years ago
```
Get juCi++ source, compile and install:
10 years ago
```sh
git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake ..
10 years ago
make
sudo make install
```
##Arch Linux
Package available in the Arch User Repository:
https://aur.archlinux.org/packages/jucipp-git/
Alternatively, follow the instructions below.
Install dependencies:
```sh
#as root
pacman -S git cmake make clang gtksourceviewmm boost aspell aspell-en
```
10 years ago
Get juCi++ source, compile and install:
```sh
git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake ..
make
# as root
make install
```
## OS X with Homebrew (http://brew.sh/)
Install dependencies (installing llvm may take some time, and you need to follow the lldb code signing instructions):
10 years ago
```sh
brew install --with-clang --with-lldb llvm
brew install cmake pkg-config boost homebrew/x11/gtksourceviewmm3 aspell clang-format
10 years ago
```
Get juCi++ source, compile and install:
10 years ago
```sh
git clone --recursive https://github.com/cppit/jucipp
mkdir jucipp/build
cd jucipp/build
cmake ..
10 years ago
make
make install
```
##Windows with MSYS2 (https://msys2.github.io/)
Note that MSYS2 does not yet support lldb, but you can still compile juCi++ without debug support.
Install dependencies (replace `x86_64` with `i686` for 32-bit MSYS2 installs):
```sh
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
```
Get juCi++ source, compile and install (replace `mingw64` with `mingw32` for 32-bit MSYS2 installs):
```sh
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
```
<!--
## Windows with Cygwin (https://www.cygwin.com/)
**Make sure the PATH environment variable does not include paths to non-Cygwin cmake, make and g++.**
10 years ago
Select and install the following packages from the Cygwin-installer:
```
pkg-config libboost-devel libgtkmm3.0-devel libgtksourceviewmm3.0-devel xinit
```
Then run the following in the Cygwin Terminal:
```sh
git clone https://github.com/cppit/jucipp.git
cd jucipp
cmake .
make
make install
```
Note that we are currently working on a Windows-version without the need of an X-server.
-->
## Run
```sh
juci
```
<!--
10 years ago
#### Windows
```sh
startxwin /usr/local/bin/juci
```
10 years ago
-->