我下载了最新版本的opencv 3.3.0和opencv_contrib,使用CUDA支持cmake并且make给了我:
....
[ 80%] Built target opencv_xfeatures2d_pch_dephelp
[ 80%] Built target pch_Generate_opencv_xfeatures2d
[ 80%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/sift.cpp.o
/home/cesar/programas/instaladores/OpenCV/opencv_contrib-master/modules/xfeatures2d/src/sift.cpp: In member function ‘virtual void cv::xfeatures2d::SIFT_Impl::detectAndCompute(cv::InputArray, cv::InputArray, std::vector<cv::KeyPoint>&, cv::OutputArray, bool)’:
/home/cesar/programas/instaladores/OpenCV/opencv_contrib-master/modules/xfeatures2d/src/sift.cpp:1156:9: error: ‘removeDuplicatedSorted’ is not a member of ‘cv::KeyPointsFilter’
KeyPointsFilter::removeDuplicatedSorted( keypoints );
^
modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/build.make:670: fallo en las instrucciones para el objetivo 'modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/sift.cpp.o'
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/sift.cpp.o] Error 1
CMakeFiles/Makefile2:21949: fallo en las instrucciones para el objetivo 'modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/all'
我迷失在这里。我尝试将我的cmake从3.5更新到3.8,并且建筑物在同一点停止。
感谢您的帮助!
答案 0 :(得分:0)
您似乎已经降级,但尚未收到任何反馈。
我相信你的问题并不属于stackoverflow。 opencv_contrib
显然不稳定。所包含模块的API正在开发中,并且可能随时更改。构建它时也可能会出现构建错误。
我认为您最好不要尝试向模块开发人员提交错误报告。
答案 1 :(得分:0)
removeDuplicatedSorted刚刚在3天前添加到opencv master分支,并且还没有返回到3.3.0。然而筛选更新到它。 opencv_contrib倾向于与master分支同步。它没有匹配的版本分支/标签