Mentions légales du service

Skip to content
Snippets Groups Projects
BUILD.md 1022 B
Newer Older
# Building

Download the [reMarkable toolchain](https://remarkable.engineering/), install it and source it.
```sh
curl https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh -o install-toolchain.sh
chmod u+x install-toolchain.sh
./install-toolchain.sh
Mattéo Delabre's avatar
Mattéo Delabre committed
source /usr/local/oecore-x86_64/environment-setup-cortexa9hf-neon-oe-linux-gnueabi
Mattéo Delabre's avatar
Mattéo Delabre committed
Clone this repository with its dependencies and change directory into it.
Mattéo Delabre's avatar
Mattéo Delabre committed
git clone --recursive git@forge.delab.re:matteo/rmvncclient.git
Mattéo Delabre's avatar
Mattéo Delabre committed
cd rmvncclient
Create a directory for build artifacts.

```sh
mkdir -p build/Release
cd build/Release
```

Run CMake configuration.

```sh
cmake ../.. -DCMAKE_BUILD_TYPE=Release
```

The output should not contain any error and should end with those lines:

```txt
-- Configuring done
-- Generating done
Mattéo Delabre's avatar
Mattéo Delabre committed
-- Build files have been written to: …/rmvncclient/build/Release
Mattéo Delabre's avatar
Mattéo Delabre committed
You now have a `rmvncclient` executable ready to be executed on your reMarkable!