Skip to content
Snippets Groups Projects
Commit a8820b31 authored by Joschua Gosda's avatar Joschua Gosda
Browse files

Add README.md

parent 70f6c9e7
No related branches found
No related tags found
No related merge requests found
## Installation instructions
### C++
The project needs a few dependencies to be installed. These are broccoli, the robotics library as well as pybind11 in order to create bindings between Python and C++ code. To prevent any troubles while installing them in the next step make sure you have the following packages installed. Check or otherwise install them running `sudo apt install cmake python3-dev python3-distutils` in the command line.
Download the robotics library and put it into `/opt/`. Brocolli and pybind11 are directly installed to the system. Therefore clone the respective repo using git.
#### pybind11
Run the following commands to install pybind11 globally to your system
```
# Classic CMake
cd pybind11
mkdir build
cd build
cmake ..
make install
# CMake 3.15+
cd pybind11
cmake -S . -B build
cmake --build build -j 2 # Build on 2 cores
cmake --install build
```
Installation instruction for pybind11 can be also found [here](https://pybind11.readthedocs.io/en/stable/compiling.html#building-with-cmake)
##### broccoli
cd in cloned brocolli repo. Then run the commands to install brocolli to your system
```
mkdir build
cd build
cmake ..
make install
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment