[ros-users] [Discourse.ros.org] [Next Generation ROS] How to…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Adam Jiang via ros-users
Dato:  
Til: ros-users
CC: Adam Jiang
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] How to cross-compile ROS2 for arm64 architecture


By-passing the issue on libcurl_vendor and resource_retriever by '--skip-packages'. However, it seems now I am blocked by another strange issue.

    [ 82%] Building C object CMakeFiles/std_srvs__rosidl_typesupport_c__pyext.dir/rosidl_generator_py/std_srvs/_std_srvs_s.ep.rosidl_typesupport_c.c.o
    In file included from /usr/include/python3.5m/Python.h:8:0,
                     from /home/sirius/projects/ros2/build_isolated/std_srvs/rosidl_generator_py/std_srvs/_std_srvs_s.ep.rosidl_typesupport_introspection_c.c:4:
    /usr/include/python3.5m/pyconfig.h:9:12: fatal error: aarch64-linux-gnu/python3.5m/pyconfig.h: No such file or directory
     #  include <aarch64-linux-gnu/python3.5m/pyconfig.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.


It is complaining that the header file is missing. However, I do have the file install with multiple-arch solution in my Ubuntu 16.04 box.

    sirius@Sirius-vm:~/projects/ros2$ find /usr/ -iname "pyconfig.h"
    /usr/include/python3.5m/pyconfig.h
    /usr/include/aarch64-linux-gnu/python3.5m/pyconfig.h
    /usr/include/aarch64-linux-gnu/python2.7/pyconfig.h
    /usr/include/python2.7/pyconfig.h
    /usr/include/x86_64-linux-gnu/python3.5m/pyconfig.h


It seems that 'ament' doesn't take '/usr/include' into its INCLUDE_PATH. I have also tried out to add the path in by define '-DCMAKE_INCLUDE_PATH=/usr/include' which was rejected by 'amend'.

Does ROS2 support cross-compilation for now?





---
[Visit Topic](https://discourse.ros.org/t/how-to-cross-compile-ros2-for-arm64-architecture/3702/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>