I had to jump through a variety of unintuitive hoops to get things working, and improving that process would be helpful.
here are some of the issues I encountered [on debian 12]- I am very inexperienced with building software for the remarkable, so I might be using the wrong terminology here. Apologies.
code issues
I needed to set CMAKE_BUILD_WITH_INSTALL_RPATH to true in CMakePresets.json to avoid this error:
The install of the [program] target requires changing an RPATH from the build tree, but this is not supported with the Ninja generator unless on an ELF-based or XCOFF-based platform.
It would be nice if yaft could detect when it's not being run with a launcher, and set the LD_PRELOAD for you, or explain to you that it needs to be set
documentation issues
specify the requirement for cmake >= 3.19, and mention that sourcing the remarkable toolchain changes your cmake version to one that's too old. My workaround was to use which cmake before sourcing the toolchain, and referring to cmake by its path (e.g. /home/me/.local/bin/cmake --preset dev).
I had to jump through a variety of unintuitive hoops to get things working, and improving that process would be helpful.
here are some of the issues I encountered [on debian 12]- I am very inexperienced with building software for the remarkable, so I might be using the wrong terminology here. Apologies.
code issues
CMAKE_BUILD_WITH_INSTALL_RPATH
to true in CMakePresets.json to avoid this error:LD_PRELOAD
for you, or explain to you that it needs to be setdocumentation issues
which cmake
before sourcing the toolchain, and referring to cmake by its path (e.g./home/me/.local/bin/cmake --preset dev
).