videoio\src\cap_dshow.cpp:2145:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA'
I met the same issue with opencv3.0.0 to be built with mingw, and I have workaround this, the way I worked around is,
edit file %OPENCV_HOME%\sources\modules\videoio\src\cap_dshow.cpp Add
#define STRSAFE_NO_DEPRECATE

浙公网安备 33010602011771号