error C4996:‘fopen’:this function or variable maybe unsafe:

在VS2013上新建了一个工程,配好opencv时运行出错了,:

error C4996:‘fopen’:this function or variable maybe unsafe

解决方案:

资源视图---->右键---->属性----->

error C4996:‘fopen’:this function or variable maybe unsafe

 _CRT_SECURE_NO_WARNINGS 

error C4996:‘fopen’:this function or variable maybe unsafe

点击确定即可

相关文章: