欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

opencv 编译时opencv_extra的异常问题xfeature3d

程序员文章站 2022-03-16 17:47:04
...
 modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/waldboost.cpp.o
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp: In constructor ‘cv::xfeatures2d::BoostDesc_Impl::BoostDesc_Impl(int, bool, float)’:
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:688:23: error: ‘x_min’ was not declared in this scope
                       x_min, x_max, y_min, y_max,
                       ^~~~~
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:688:23: note: suggested alternative: ‘y_min’
                       x_min, x_max, y_min, y_max,
                       ^~~~~
                       y_min
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:688:30: error: ‘x_max’ was not declared in this scope
                       x_min, x_max, y_min, y_max,
                              ^~~~~
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:688:30: note: suggested alternative: ‘max’
                       x_min, x_max, y_min, y_max,
                              ^~~~~
                              max
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:688:44: error: ‘y_max’ was not declared in this scope
                       x_min, x_max, y_min, y_max,
                                            ^~~~~
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:688:44: note: suggested alternative: ‘max’
                       x_min, x_max, y_min, y_max,
                                            ^~~~~
                                            max
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:689:23: error: ‘alpha’ was not declared in this scope
                       alpha, beta);
                       ^~~~~
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:689:23: note: suggested alternative: ‘isalpha’
                       alpha, beta);
                       ^~~~~
                       isalpha
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:689:30: error: ‘beta’ was not declared in this scope
                       alpha, beta);
                              ^~~~
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:689:30: note: suggested alternative: ‘getw’
                       alpha, beta);
                              ^~~~
                              getw
/home/mmm/dev/tools/3rd/cubone-opencv_contrib-3.4.8/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:689:35: error: expected ‘}’ before ‘;’ token
                       alpha, beta);
                                   ^
[ 43%] Building CXX object apps/createsamples/CMakeFiles/opencv_createsamples.dir/utility.cpp.o
modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/build.make:91: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o' failed
make[2]: *** [modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o] Error 1
CMakeFiles/Makefile2:11367: recipe for target 'modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/all' failed
make[1]: *** [modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
[ 43%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/wbdetector.cpp.o
[ 43%] Linking CXX executable ../../bin/opencv_annotation
[ 43%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/boost.cpp.o
[ 43%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/eigen_faces.cpp.o
[ 43%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/face_alignment.cpp.o
[ 43%] Built target opencv_annotation
[ 43%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/face_basic.cpp.o
[ 43%] Linking CXX executable ../../bin/example_dnn_text_detection
[ 43%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemark.cpp.o
[ 43%] Built target example_dnn_text_detection
[ 44%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemarkAAM.cpp.o
[ 44%] Linking CXX executable ../../bin/opencv_visualisation
[ 45%] Linking CXX executable ../../bin/example_dnn_classification
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/cascadeclassifier.cpp.o
[ 45%] Built target example_dnn_classification
[ 45%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/calibPipeline.cpp.o
[ 45%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/frameProcessor.cpp.o
[ 45%] Built target opencv_visualisation
[ 45%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/main.cpp.o
[ 45%] Linking CXX executable ../../bin/opencv_createsamples
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemarkLBF.cpp.o
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facerec.cpp.o
[ 45%] Built target opencv_createsamples
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/features.cpp.o
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/haarfeatures.cpp.o
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/fisher_faces.cpp.o
[ 45%] Linking CXX shared library ../../lib/libopencv_xobjdetect.so
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/getlandmarks.cpp.o
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/lbph_faces.cpp.o
[ 45%] Built target opencv_xobjdetect
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/mace.cpp.o
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/imagestorage.cpp.o
[ 45%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/parametersController.cpp.o
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/predict_collector.cpp.o
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/lbpfeatures.cpp.o
[ 45%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/rotationConverters.cpp.o
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/regtree.cpp.o
[ 45%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/trainFacemark.cpp.o
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_boost.cpp.o
[ 45%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_data.cpp.o
[ 46%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_inner_functions.cpp.o
[ 46%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_tree.cpp.o
[ 46%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/traincascade.cpp.o
[ 46%] Linking CXX executable ../../bin/opencv_interactive-calibration
[ 46%] Built target opencv_interactive-calibration
[ 46%] Linking CXX shared library ../../lib/libopencv_text.so
[ 46%] Linking CXX shared library ../../lib/libopencv_face.so
[ 46%] Built target opencv_text
[ 46%] Built target opencv_face
[ 46%] Linking CXX executable ../../bin/opencv_traincascade
[ 46%] Built target opencv_traincascade
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

 

相关标签: 视觉