-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cross compilation fails on cyclonedds #26
Comments
I wanted to merge this solution to the
The Have you tried installing those libraries on the Raspberry Pi (maybe Another possibility is linking those libraries directly in: Or try with Galactic is around the corner with CycloneDDS as a default middleware, so we should be prepared :)
Thank you for pointing on the workaround! I am sure it will be useful to other users. |
Thank you for the instruction, however, some package also build fail(one of them is cross-colcon-build --skip-packages "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1" |
This is a transitive library dependency -> |
@asherikov Could you please make a PR about this? |
Sorry, no, just passing by. |
I have come back to this recently. I haven't been able to find the right incantation to add --- a/installation/cross_compile/bashrc.sh
+++ b/installation/cross_compile/bashrc.sh
@@ -20,7 +20,8 @@ cross-colcon-build() {
-DCMAKE_TOOLCHAIN_FILE=/home/develop/toolchain.cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DTHIRDPARTY=ON \
- -DBUILD_TESTING:BOOL=OFF
+ -DBUILD_TESTING:BOOL=OFF \
+ -DENABLE_SSL=OFF
} It now fails on |
I use your cross-compilation setup to build ROS 2 for my RPi Zero (on its own without an E-Puck) after seeing ros-tooling/cross_compile#69 (comment). Thanks for this, it is a better solution than the current state of
ros_cross_compile
!However, when following the cross-compilation instructions here, the
cross-colcon-build
command fails when trying to build thecyclonedds
package with the following:followed by a further list of undefined references.
I used
sshfs
to mount the rootfs, bothlibssl.so.1.1
andlibcrypto.so.1.1
are there under/home/develop/rootfs/lib/arm-linux-gnueabihf
, so I'm not sure why they can't be found. Probably theADD_LIBRARY
warning has something to do with it, but I couldn't immediately figure out where that comes from.As a workaround, for now I have just disabled building this package with:
with which
cross-colcon-build
finishes successfully.The text was updated successfully, but these errors were encountered: