[Bug集合]error: expected primary-expression before ‘>’ token

error: expected primary-expression before ‘>’ token

百度到这个帖子的多半情况不一样,但一定是小细节出问题

cv:Ptr detector = cv::FastFeatureDetector::create();
detector->detect( color,kps );

错误指向了第二行的>

改为:

cv::Ptr detector = cv::FastFeatureDetector::create();
detector->detect( color,kps );

原因是上一行的:变成::

你可能感兴趣的:(Bug集合)