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

vision_msgs in stag_detect CMakelists.txt and use default C++ instead of C++11 #278

Open
wants to merge 9 commits into
base: noetic-devel
Choose a base branch
from

Conversation

lucasw
Copy link
Contributor

@lucasw lucasw commented Sep 24, 2022

Use default C++ instead of C++11 which avoids '‘std::shared_mutex’ is only available from C++17 onwards' error on 22.04

@aldajo92
Copy link

aldajo92 commented Feb 6, 2024

Without this changes, the building process for the packagestag_detect throws this error:

Errors     << stag_detect:make /catkin_ws/logs/stag_detect/build.make.000.log  
In file included from /catkin_ws/src/fiducials/stag_detect/src/stag_ros/stag_detect.cpp:31:
/catkin_ws/src/fiducials/stag_detect/include/stag_ros/stag_node.h:36:10: fatal error: vision_msgs/Detection2D.h: No such file or directory
 #include "vision_msgs/Detection2D.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/stag_detect.dir/build.make:63: CMakeFiles/stag_detect.dir/src/stag_ros/stag_detect.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: CMakeFiles/stag_detect.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

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 this pull request may close these issues.

2 participants