-
Notifications
You must be signed in to change notification settings - Fork 42
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
resource_retriever fails when trying to cross-compile with aarch64-linux-gnu #15
Comments
Hi, I met the same issue today with cross-compile on arm platform. Could you please tell me if there is any additional patch I should apply? Or is there any way to skip the ROS building? |
@davidhuziji , Hey! this might help you: #17 It's not upstreamed yet. |
Hi, @amar-laksh, Thanks a lot. |
Hi @amar-laksh , I made some comments on your patch. Could you please help take a look? |
Now this exact issue comes up when compiling It seems it could be because of |
When trying to cross-compile using the instructions at: https://github.com/ros2/ros2/tree/master/arm_crosscompilation
It fails with the following:
Process package 'resource_retriever' with context:
source_space => /home/amar/ros2_ws/src/ros/resource_retriever/resource_retriever
build_space => /home/amar/ros2_ws/build/resource_retriever
install_space => /home/amar/ros2_ws/install
make_flags => -j4, -l4
build_tests => False
+++ Building 'resource_retriever'
==> '. /home/amar/ros2_ws/build/resource_retriever/cmake__build.sh && /usr/bin/cmake /home/amar/ros2_ws/src/ros/resource_retriever/resource_retriever -DBUILD_TESTING=0 -DCMAKE_TOOLCHAIN_FILE=/home/amar/ros2_ws/aarch64_toolchainfile.cmake -DTHIRDPARTY=ON -DCMAKE_INSTALL_PREFIX=/home/amar/ros2_ws/install' in '/home/amar/ros2_ws/build/resource_retriever'
/usr/bin/cmake: /home/amar/ros2_ws/install/opt/libcurl_vendor/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
-- Found ament_cmake_ros: 0.4.0 (/home/amar/ros2_ws/install/share/ament_cmake_ros/cmake)
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Found ament_index_cpp: 0.4.0 (/home/amar/ros2_ws/install/share/ament_index_cpp/cmake)
-- Found libcurl_vendor: 2.0.0 (/home/amar/ros2_ws/install/share/libcurl_vendor/cmake)
-- Checking for one of the modules 'libcurl'
-- CURL_FOUND: 1
-- CURL_LIBRARIES: curl
-- CURL_LIBRARY_DIRS: /home/amar/ros2_ws/build/libcurl_vendor/libcurl_install/lib
-- CURL_INCLUDE_DIRS: /home/amar/ros2_ws/build/libcurl_vendor/libcurl_install/include
-- library: curl
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
library_abs
linked by target "resource_retriever" in directory /home/amar/ros2_ws/src/ros/resource_retriever/resource_retriever
-- Configuring incomplete, errors occurred!
See also "/home/amar/ros2_ws/build/resource_retriever/CMakeFiles/CMakeOutput.log".
<== Command '. /home/amar/ros2_ws/build/resource_retriever/cmake__build.sh && /usr/bin/cmake /home/amar/ros2_ws/src/ros/resource_retriever/resource_retriever -DBUILD_TESTING=0 -DCMAKE_TOOLCHAIN_FILE=/home/amar/ros2_ws/aarch64_toolchainfile.cmake -DTHIRDPARTY=ON -DCMAKE_INSTALL_PREFIX=/home/amar/ros2_ws/install' failed in '/home/amar/ros2_ws/build/resource_retriever' with exit code '1'
<== Command '. /home/amar/ros2_ws/build/resource_retriever/cmake__build.sh && /usr/bin/cmake /home/amar/ros2_ws/src/ros/resource_retriever/resource_retriever -DBUILD_TESTING=0 -DCMAKE_TOOLCHAIN_FILE=/home/amar/ros2_ws/aarch64_toolchainfile.cmake -DTHIRDPARTY=ON -DCMAKE_INSTALL_PREFIX=/home/amar/ros2_ws/install' failed in '/home/amar/ros2_ws/build/resource_retriever' with exit code '1'
The text was updated successfully, but these errors were encountered: