-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Occurs when trying to build wave_vision (either through CMake or Catkin) and 2 instances of OpenCV are installed. The two instances are the custom one downloaded through my libwave installation, and the other is the OpenCV packaged with ROS.
Full error message, copied from an issue in another project:
Errors << libwave:make /home/buu/catkin_ws/logs/libwave/build.make.000.log
/home/buu/catkin_ws/src/autonomoose/rospackages/autonomoose_deps/libwave/wave_vision/src/utils.cpp: In function ‘std::vectorcv::Mat wave::readImageSequence(const string&)’:
/home/buu/catkin_ws/src/autonomoose/rospackages/autonomoose_deps/libwave/wave_vision/src/utils.cpp:104:41: error: ‘CAP_IMAGES’ is not a member of ‘cv’
cv::VideoCapture sequence(img_path, cv::CAP_IMAGES);
^
/home/buu/catkin_ws/src/autonomoose/rospackages/autonomoose_deps/libwave/wave_vision/src/utils.cpp:106:37: error: ‘CAP_PROP_FRAME_COUNT’ is not a member of ‘cv’
num_images = (int) sequence.get(cv::CAP_PROP_FRAME_COUNT);
^
make[2]: *** [wave_vision/CMakeFiles/wave_vision.dir/src/utils.cpp.o] Error 1
make[1]: *** [wave_vision/CMakeFiles/wave_vision.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /home/buu/catkin_ws/build/libwave; catkin build --get-env libwave | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -