You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CONFIGURE_COMMAND ${CONFIGURE_COMMAND_PREFIX} autoreconf -i <SOURCE_DIR> && <SOURCE_DIR>/configure ${CONFIGURE_HOST_OPTION} --prefix=<INSTALL_DIR> --disable-cython --disable-doc --disable-tests --disable-static --disable-diag
as such
The arm64_toolchain.sh file is placed in the same directory as the CMakeLists.txt file in the package, with the following contents
#!/bin/sh
export CC=/usr/bin/aarch64-linux-gnu-gcc
export CXX=/usr/bin/aarch64-linux-gnu-g++
export AR=/usr/bin/aarch64-linux-gnu-ar
export AS=/usr/bin/aarch64-linux-gnu-as
export LD=/usr/bin/aarch64-linux-gnu-ld
export STRIP=/usr/bin/aarch64-linux-gnu-strip
export RANLIB=/usr/bin/aarch64-linux-gnu-ranlib
Probably not the most logical thing to do, but it worked for me so I could compile x86 and arm64 separately.
Target Device: Raspberry Pi 4B with Ubuntu 22,
Local Device: x86_64 with Ubuntu 22.
Due to the limited memory on my Raspberry Pi 4B, the compilation speed of ROS 2 CANopen is extremely slow, and it often freezes.
Therefore, I intend to perform cross-compilation on my PC.
How should I proceed with cross-compilation?
It would be preferable if you could provide a binary version that can be installed using sudo.
The text was updated successfully, but these errors were encountered: