1)链接stitching.hpp错误异常
opencv\build\include\opencv2\stitching.hpp(179): error C2039: “PANORAMA”: 不是“cv::Stitcher”的成员
opencv\build\include\opencv2\stitching.hpp(138): note: 参见“cv::Stitcher”的声明
opencv\build\include\opencv2\stitching.hpp(181): error C2270: “registrationResol”: 非成员函数上不允许修饰符
opencv\build\include\opencv2\stitching.hpp(181): error C2065: “registr_resol_”: 未声明的标识符
opencv\build\include\opencv2\stitching.hpp(182): error C2065: “registr_resol_”: 未声明的标识符
opencv\build\include\opencv2\stitching.hpp(184): error C2270: “seamEstimationResol”: 非成员函数上不允许修饰符
opencv\build\include\opencv2\stitching.hpp(184): error C2065: “seam_est_resol_”: 未声明的标识符
opencv\build\include\opencv2\stitching.hpp(185): error C2065: “seam_est_resol_”: 未声明的标识符
原因:warning Detected X11 'Status' macro definition, it can cause build conflicts. Please, include this header before any X11 headers.
解决方案
将#include "opencv2/op