ik
ik copied to clipboard
Better Documentation for Building
Hi there,
I have a noob request. I would like to use your library for my arduino project however build instructions are not very clear for a beginner.
I couldn't run the example on my project.
Hey!
I didn't think about supporting micro controllers, but in theory it should be possible. The same build instructions found here apply, but in addition, you will have to provide a toolchain file to cmake. You can find examples of what this file looks like here.
Building will then look something like:
mkdir build && cd build
cmake \
-DCMAKE_TOOLCHAIN_FILE=path/to/arduino/toolchain.cmake \
-DCMAKE_INSTALL_PREFIX=path/to/install/arduino/libraries \
-DCMAKE_BUILD_TYPE=Release \
-DIK_LIB_TYPE=STATIC \
-DIK_PYTHON=OFF \
../CMakeLists.txt
cmake --build . --target install
I'm not sure how the library performs on hardware with limited resources. Is malloc() available?