-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Describe the bug
When I build the foxy branch of darknet_ros
with CUDA support I get the following errors:
/usr/include/opencv4/opencv2/core/cvdef.h:704:4: error: #error "OpenCV 4.x+ requires enabled C++11 support"
704 | # error "OpenCV 4.x+ requires enabled C++11 support"
| ^~~~~
/usr/include/opencv4/opencv2/core/cvdef.h:710:10: fatal error: array: No such file or directory
710 | #include <array>
To Reproduce
Steps to reproduce the behavior:
- Clone the foxy branch
colcon build -DCMAKE_BUILD_TYPE=Release
- See error
Expected behavior
I expect ROS2 Foxy to compile with CUDA support.
System (please complete the following information):
- OS: Ubuntu 20.04
- ROS version: Foxy
- GPU when relevant: NVIDIA RTX 2080 SUPER
Additional context
I noticed that this problem was fixed for Noetic in #308.