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.

98 lines
2.3 KiB

# juCi++
## Installation guide ##
Before installation, please install libclangmm, see [installation guide](http://github.com/cppit/libclangmm/blob/master/docs/install.md).
10 years ago
## Debian/Ubuntu
```sh
sudo apt-get install pkg-config libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libgtkmm-3.0-dev libgtksourceviewmm-3.0-dev libaspell-dev
```
```sh
git clone http://github.com/cppit/jucipp.git
cd jucipp
cmake .
make
sudo make install
```
## OS X with Homebrew (http://brew.sh/)
```sh
brew install pkg-config boost gtkmm3 gtksourceviewmm3 aspell
```
```sh
git clone https://github.com/cppit/jucipp.git
cd jucipp
cmake .
make
make install
```
##Windows with MSYS2 (https://msys2.github.io/)
10 years ago
Please wait until the following TODOs are resolved:
* Newlines are saved properly
10 years ago
* Windows implementation of creating processes
* libclang(mm) finds header-files
10 years ago
* fix make install, and install to mingw[32/64]/bin
Install dependencies(replace [arch] with i686 or x86_64 depending on your MSYS2 install):
```sh
pacman -S patch autoconf automake-wrapper mingw-w64-[arch]-gtkmm3 mingw-w64-[arch]-boost mingw-w64-[arch]-aspell mingw-w64-[arch]-aspell-en
10 years ago
```
Get juCi++ source:
```sh
git clone https://github.com/cppit/jucipp.git
cd jucipp
```
Compiling and installing gtksourceview3 and gtksourceviewmm3:
```sh
cd MINGW-packages/mingw-w64-gtksourceview3/
makepkg-mingw -sLf
pacman -U mingw-w64-[arch]-gtksourceview3-3.12.0-2-any.pkg.tar.xz
cd ../mingw-w64-gtksourceviewmm3/
makepkg-mingw -sLf
pacman -U mingw-w64-[arch]-gtksourceviewmm3-3.12.0-1-any.pkg.tar.xz
cd ../../
```
Compile and install juCi++ source:
```sh
cmake -G"MSYS Makefiles" .
make
make install
```
**You might have to install juci manually**
<!--
## 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
-->