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

CustomPoint.idl does not exit #156

Closed
Harkerbest opened this issue Dec 8, 2024 · 2 comments
Closed

CustomPoint.idl does not exit #156

Harkerbest opened this issue Dec 8, 2024 · 2 comments

Comments

@Harkerbest
Copy link

Environment is:

  • Ubuntu 22.04
  • ROS2 humble

Problem is:

ubuntu@ubuntu:~/桌面/ws_livox/src/livox_ros_driver2$ ./build.sh humble
Working Path: /home/ubuntu/桌面/ws_livox/src/livox_ros_driver2
ROS version is: ROS2
Starting >>> livox_ros_driver2
--- stderr: livox_ros_driver2                         
CMake Error at /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:240 (list):
  list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
  CMakeLists.txt:241 (rosidl_generate_interfaces)


CMake Error at /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:240 (list):
  list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
  CMakeLists.txt:241 (rosidl_generate_interfaces)


CMake Error at /opt/ros/humble/share/rosidl_generator_c/cmake/rosidl_generator_c_generate_interfaces.cmake:69 (message):
  Target dependency
  '/ws_livox/build/livox_ros_driver2/rosidl_adapter/livox_ros_driver2/msg/CustomPoint.idl'
  does not exist
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
  /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
  CMakeLists.txt:241 (rosidl_generate_interfaces)


---
Failed   <<< livox_ros_driver2 [2.57s, exited with code 1]

Summary: 0 packages finished [2.74s]
  1 package failed: livox_ros_driver2
  1 package had stderr output: livox_ros_driver2
ubuntu@ubuntu:~/桌面/ws_livox/src/livox_ros_driver

I have asked gpt and searched online, couldn't find a way to solve it

@HasturSTS
Copy link

Do not contain any Chinese character in your workshop path, try another path

@Harkerbest
Copy link
Author

Do not contain any Chinese character in your workshop path, try another path

Thank you very much

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

2 participants