Skip to content

Cross building fastlivo #449

Description

@tmehr-enqt

Hi.
I could use some guidance in cross building fastlivo to aarch64, specifically nvidia Jetson.
I have setup the system like advised in the README and can build FAST-LIVO2 natively.
I also have an rootfs for my system setup where I can build FAST-Livo through qemu
However if I try cross building with -DCMAKE_TOOLCHAIN_FILE (the Tool chain file is basically https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-linux with my paths) it can't find the ros packages.

Now my assumption is that I will have to set some additional paths for it to find stuff and somehow bend the paths the cmake files from the ros installation is setting but how would I do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions