可以加上万能头文件模板 include <stdio.h> include <tchar.h> include <iostream> include <fstream> include <opencv2/opencv.hpp> define CV_VERSION_ID CVAUX_STR(CV_MAJOR_VERSION) CVAUX_STR(CV_MINOR_VERSION) CVAUX_STR(CV_SUBMINOR_VERSION)ifdef _DEBUG define cvLIB(name) "opencv_"...