Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify the process of building from source #39

Open
mimuki opened this issue Mar 11, 2024 · 0 comments
Open

simplify the process of building from source #39

mimuki opened this issue Mar 11, 2024 · 0 comments

Comments

@mimuki
Copy link

mimuki commented Mar 11, 2024

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant