OpenCV CMake Error [closed]
I have been using OpenCV without issue for months, but today when I catkin_make my workspace I now get the error:
-- +++ processing catkin package: 'clam_vision' -- ==> add_subdirectory(clam_vision) CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:71 (find_package): Could not find a configuration file for package vision_opencv.
Set vision_opencv_DIR to the directory containing a CMake configuration file for vision_opencv. The file will have one of the following names:
vision_opencvConfig.cmake vision_opencv-config.cmake
Call Stack (most recent call first):
clam_vision/CMakeLists.txt:7 (find_package)CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:71 (find_package): Could not find a configuration file for package opencv2.
Set opencv2_DIR to the directory containing a CMake configuration file for opencv2. The file will have one of the following names:
opencv2Config.cmake opencv2-config.cmake
Call Stack (most recent call first):
clam_vision/CMakeLists.txt:7 (find_package)
I have tried reinstalling ros-groovy-vision-opencv and ros-groovy-opencv2. Searching my computer I found lots of files named opencv.cmake in different locations.
I have made no changes except updating ROS, and everything seems to be installed and working correctly, so I do not understand what the issue is.
I'm also using OpenCV in ROS Groovy and I need to use the cvblob library. I have the same linking error while compiling, just for the cvblob lib can not be found.