Skip to content

rustyducks/coin

Repository files navigation

coin

badge

C.O.I.N. probably stands for "Canards Oxydés Intelligence et Navigation".

Installation

Install dependencies

The dependencies may not need to be compiled and installed manually, as this project uses cmake FetchContent to retrieve and install them. However, for crosscompilation, they need to be compiled for the host and installed.

Example instruction for building all the stack here (for both native and cross-compiling)

Build and run

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=</path/to/your/workspace> ..
make -j4
./Coin

Crosscompiling for Linux ARM (Raspberry Pi)

Install toolchain:

sudo apt update && sudo apt install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf

Compile coin:

mkdir buildarm && cd buildarm
export LINUX_ARM_TOOLCHAIN_PATH=</path/to/toolchain>  # optional: defaults to /usr/lib/ccache
cmake -DCROSSCOMPILE_ARM=ON -DCMAKE_INSTALL_PREFIX=</path/to/your/workspace/armlinux> ..  # your workspace must contain the dependencies, manually built for the target
make -j4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published