ROS2在QNX aarch64环境下编译踩坑笔记:unique_identifier_msgs
本帖最后由 keer_zu 于 2024-5-9 13:31 编辑unique_identifier_msgs
In file included from /home/kevin/ros2_galactic/env/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:5,
from /home/kevin/ros2_galactic/env/lib/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/kevin/ros2_galactic/build/aarch64le/unique_identifier_msgs/rosidl_generator_py/unique_identifier_msgs/msg/_uuid_s.c:11:
/home/kevin/ros2_galactic/env/lib/python3.11/site-packages/numpy/core/include/numpy/npy_endian.h:13:14: fatal error: endian.h: No such file or directory
#include <endian.h>
在cmakelist.txt中添加路径:
include_directories(/home/kevin/qnx710/target/qnx7/usr/include/devs/include_aarch64/machine/) 还报错。
以下是部分:
于是:
remove_definitions(D__WAIT_H_INCLUDED)
remove_definitions(D_SIGNAL_H_INCLUDED)
页:
[1]