这个错位:错误 1 error C4996: 'fopen': This function orvariable may be unsafe. Consider using fopen_s instead. To disable deprecation,use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\opencv\opencv\build\include\opencv2\flann\logger.h 66 1 维数通道,这个错误是有cv.h这个头文件造成的,如果要写cv.h这个结构体,就需要在C++的预处理器中增加这个错位:错误 1 error C4996: 'fopen': This