Skip to content
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

docker 下编译 cyberdog_ws 出现如下错误 #22

Open
andy003 opened this issue Nov 22, 2023 · 0 comments
Open

docker 下编译 cyberdog_ws 出现如下错误 #22

andy003 opened this issue Nov 22, 2023 · 0 comments

Comments

@andy003
Copy link

andy003 commented Nov 22, 2023

root@86942dd009e3:/tmp/cyberdog_ws# colcon build
[4.717s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'mqttc' is in: /opt/ros2/galactic
'cpp_httplib' is in: /opt/ros2/galactic
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.

If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding cpp_httplib mqttc

This may be promoted to an error in a future release of colcon-override-check.
Starting >>> protocol
Starting >>> rapidjson
Starting >>> toml
Starting >>> xpack
Finished <<< toml [1.40s]
Finished <<< rapidjson [1.74s]
Starting >>> nav2_common
Starting >>> nav_2d_msgs
Finished <<< xpack [1.93s]
Starting >>> params
Finished <<< params [1.04s]
Starting >>> filesystem
Finished <<< filesystem [0.94s]
Starting >>> nvinference
Finished <<< nav2_common [3.50s]
Starting >>> nav2_msgs
Finished <<< nvinference [1.39s]
Starting >>> nav2_voxel_grid
--- stderr: nav_2d_msgs
CMake Error at /opt/ros2/galactic/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:213 (message):
execute_process(/usr/bin/python3 -c 'import
numpy;print(numpy.get_include())') returned error code Illegal instruction
Call Stack (most recent call first):
/opt/ros2/galactic/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
/opt/ros2/galactic/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
CMakeLists.txt:8 (rosidl_generate_interfaces)


Failed <<< nav_2d_msgs [7.48s, exited with code 1]
Aborted <<< nav2_msgs [10.7s]
Aborted <<< protocol [19.2s]
Aborted <<< nav2_voxel_grid [43.4s]

Summary: 7 packages finished [53.7s]
1 package failed: nav_2d_msgs
3 packages aborted: nav2_msgs nav2_voxel_grid protocol
3 packages had stderr output: nav2_msgs nav_2d_msgs protocol
91 packages not processed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant