Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Follow the steps described here

Basically the MSVC doesn't like that OpenCV is using fopen, but unless you want to edit OpenCV the only option is to tell MSVC to ignore this problem. The quick fix is to add

#define _CRT_SECURE_NO_WARNINGS

Before you include the opencv header. Alternately you can change this in your project settings.