标签:style io os ar 使用 for sp on log
Visual Studio 使用opencvc出现以下错误:
\opencv2\flann\logger.h(66): error C4996: ‘fopen‘: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 12.0\vc\include\stdio.h(211) : see declaration of ‘fopen‘
解决方法
在属性-->C++-->Preprocessor-->Preprocessor Definitions里加入 _CRT_SECURE_NO_WARNINGS即可
opencv2\flann\logger.h(66): error C4996: 'fopen' 解决方法
标签:style io os ar 使用 for sp on log
原文地址:http://blog.csdn.net/lanbing510/article/details/40538649