install-camitk-develop.md 1.54 KB
Newer Older
1
# Setup CamiTK bleeding edge Development Environment on Debian Stable, Ubuntu 17.04 or later
Jean-Loup Haberbusch's avatar
Jean-Loup Haberbusch committed
2

3
Start from a fresh install of `debian-stable`, `Ubuntu 17.04` or later version of Ubuntu, you will need to:
Jean-Loup Haberbusch's avatar
Jean-Loup Haberbusch committed
4
5
6
7
8
9
10
11
12
13
14
15
16
- install the the dependencies and CamiTK from the `develop` branch source code
- Install the recommended development tools

## Install CamiTK development version from the `develop` branch

### Dependencies

To install CamiTK dependencies, just type:

```bash
sudo apt-get build-dep camitk
```

17
18
!!! Note
    if you get the following error message
Jean-Loup Haberbusch's avatar
Jean-Loup Haberbusch committed
19

20
21
22
23
    ```bash
        E: You must put some 'source' URIs in your sources.list
    ```
    you need to add source repository, see the [debian documentation](https://wiki.debian.org/SourcesList)
Jean-Loup Haberbusch's avatar
Jean-Loup Haberbusch committed
24
25
26
27
28
29
30
31


### Clone and build CamiTK from the `develop` branch

```bash
git clone -b develop --single-branch https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK.git
mkdir build-CamiTK
cd build-CamiTK
32
cmake ../CamiTK -DCEP_IMAGING=TRUE -DCEP_MODELING=TRUE -DCEP_TUTORIALS=TRUE -DCMAKE_INSTALL_PREFIX="/usr/local"
Jean-Loup Haberbusch's avatar
Jean-Loup Haberbusch committed
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
make
sudo make sdk_global_install
```

Use `git pull` to update this version everytime a new version is available on the `develop` branch.


## Development tools
The CamiTK team recommands `kdevelop` IDE.

Install kdevelop and git:

```bash
sudo apt-get install kdevelop git
```


## Check the installation

Type:

```bash
camitk-config --config
```

You should get details information about camitk version, where camitk is looking for extensions, and the default installed extensions.
You're ready to run `camitk-wizard`!