OpenCV in ROS Indigo, How can I update opencv to install new libraries, like cv::CAP_PROP_POS_FRAMES for cv::VideoCapture in opencv2/imgproc/imgproc.hpp, when I'm doing catkin_make appears error: ‘CAP_PROP_POS_FRAMES’ is not a member of ‘cv’ [closed]

asked 2015-09-17 05:05:15 -0600

pablocesar gravatar image

#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp"

cv::VideoCapture g_cap;

void onTrackbarSlide( int pos, void *) {
g_cap.set( cv::CAP_PROP_POS_FRAMES, pos );
if( !g_dontset )
g_run = 1;
g_dontset = 0;

}

after catkin_make appears: error: ‘CAP_PROP_POS_FRAMES’ is not a member of ‘cv’ g_cap.set( cv::CAP_PROP_POS_FRAMES, pos );

edit retag flag offensive reopen merge delete

Closed for the following reason OpenCV Question: THe OpenCV community prefers to answer questions at: http://answers.opencv.org/questions/ by tfoote
close date 2015-09-18 18:17:55.561312