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.

117 lines
2.9 KiB

10 years ago
# juCi++ Installation Guide
## Debian/Ubuntu 15
Install dependencies:
```sh
10 years ago
sudo apt-get install git cmake make g++ libclang-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
cd jucipp
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
10 years ago
cd jucipp
cmake .
make
sudo make install
```
##Arch Linux
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
cd jucipp
cmake .
make
# as root
make install
```
## OS X with Homebrew (http://brew.sh/)
Install dependencies (installing llvm may take some time):
10 years ago
```sh
brew install cmake --with-clang llvm 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
10 years ago
cd jucipp
cmake .
10 years ago
make
make install
```
##Windows with MSYS2 (https://msys2.github.io/)
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
cd jucipp
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.
-->
## Cleanup CMake cache files (in case you want to try out juCi++ on its source files)
```sh
rm -r CMakeFiles CMakeCache.txt
```
## Run
```sh
juci
```
<!--
10 years ago
#### Windows
```sh
startxwin /usr/local/bin/juci
```
10 years ago
-->