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

std_srvs dependency missing from package.xml #4

Closed
agtbaskara opened this issue Jun 25, 2022 · 0 comments · Fixed by #5
Closed

std_srvs dependency missing from package.xml #4

agtbaskara opened this issue Jun 25, 2022 · 0 comments · Fixed by #5

Comments

@agtbaskara
Copy link
Contributor

It seems that the std_srvs dependency is missing from the package.xml

This causes an error during build using catkin here is the message of the error:

Errors << witmotion_ros:check /root/catkin_ws/logs/witmotion_ros/build.check.001.log                
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:196 (message):
  catkin_package() the catkin package 'std_srvs' has been find_package()-ed
  but is not listed as a build dependency in the package.xml
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  CMakeLists.txt:20 (catkin_package)


make: *** [Makefile:1366: cmake_check_build_system] Error 1
cd /root/catkin_ws/build/witmotion_ros; catkin build --get-env witmotion_ros | catkin env -si  /usr/bin/make cmake_check_build_system; cd -

The solution is simply to add std_srvs to the package.xml:

...
<depend>std_srvs</depend>
...
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

Successfully merging a pull request may close this issue.

1 participant