'Problem compiling ar_pose (openCV fatal error)
I'm getting an error when trying to compile ar_pose, as part of ar_tools in ROS noetic under Ubuntu 20.04.
When running catkin_make:
In file included from /home/alveybj/catkin_ws/src/ar_tools/ar_pose/src/ar_multi.cpp:25:
/home/alveybj/catkin_ws/src/ar_tools/ar_pose/include/ar_pose/ar_multi.h:47:10: fatal error: opencv/cv.h: No such file or directory
47 | #include <opencv/cv.h>
Do I need to downgrade ROS? Ubuntu? Somehow tell ROS where my openCV libraries are? Thanks for any help!
Update: I was able to get ar_tools to compile correctly in ROS melodic using Ubuntu 18.04 LTS with WSL2. Not sure why this wasn't working in Noetic, maybe OpenCV has been updated?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
