Skip to content

simplify the process of building from source #39

@ghost

Description

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions