Advertisement
Guest User

make-error

a guest
Jun 14th, 2018
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 50.37 KB | None | 0 0
  1. C:\opencv-build>mingw32-make -j
  2. [  0%] Built target opencv_imgcodecs_pch_dephelp
  3. [  1%] Built target opencv_imgproc_pch_dephelp
  4. [  1%] Built target opencv_perf_objdetect_pch_dephelp
  5. [  5%] Built target opencv_phase_unwrapping_pch_dephelp
  6. [  6%] [  6%] Built target opencv_test_video_pch_dephelp
  7. [  6%] Built target libprotobuf
  8. [  1%] Built target gen-pkgconfig
  9. [  6%] Built target opencv_perf_core_pch_dephelp
  10. [ 15%] Built target opencv_perf_imgcodecs_pch_dephelp
  11. [ 16%] Built target opencv_test_bioinspired_pch_dephelp
  12. [  6%] Built target opencv_photo_pch_dephelp
  13. [ 17%] Built target opencv_shape_pch_dephelp
  14. [ 17%] Built target opencv_hfs_pch_dephelp
  15. [  5%] Built target opencv_ts_pch_dephelp
  16. [ 19%] Built target pch_Generate_opencv_test_video
  17. [  9%] Built target opencv_test_fuzzy_pch_dephelp
  18. [ 14%] Built target libwebp
  19. Built target opencv_flann_pch_dephelp
  20. [ 20%] Built target pch_Generate_opencv_imgproc
  21. [  5%] Built target opencv_test_ml_pch_dephelp
  22. [ 20%] Built target pch_Generate_opencv_perf_core
  23. [  1%] Built target opencv_reg_pch_dephelp
  24. [  1%] [ 17%] Built target opencv_dpm_pch_dephelp
  25. [ 20%] Built target pch_Generate_opencv_phase_unwrapping
  26. [ 17%] Built target opencv_fuzzy_pch_dephelp
  27. [  6%] Built target opencv_test_imgproc_pch_dephelp
  28. [  7%] Built target opencv_test_core_pch_dephelp
  29. [ 20%] Built target pch_Generate_opencv_photo
  30. [ 18%] Built target opencv_video_pch_dephelp
  31. [  9%] Built target libjasper
  32. [ 19%] Built target opencv_xobjdetect_pch_dephelp
  33. [ 20%] Built target pch_Generate_opencv_test_ml
  34. [  9%] Built target opencv_perf_superres_pch_dephelp
  35. [ 21%] Built target opencv_test_optflow_pch_dephelp
  36. [ 21%] Built target pch_Generate_opencv_fuzzy
  37. [ 21%] Built target pch_Generate_opencv_dpm
  38. [ 14%] Built target opencv_perf_reg_pch_dephelp
  39. [ 15%] Built target opencv_dnn_objdetect_pch_dephelp
  40. [  6%] Built target opencv_videoio_pch_dephelp
  41. [  6%] Built target libjpeg-turbo
  42. [ 21%] Built target opencv_bgsegm_pch_dephelp
  43. [ 20%] Built target pch_Generate_opencv_test_bioinspired
  44. [ 17%] Built target opencv_test_imgcodecs_pch_dephelp
  45. [  7%] Built target opencv_test_dnn_pch_dephelp
  46. [ 17%] Built target opencv_test_videoio_pch_dephelp
  47. [ 17%] Built target opencv_test_shape_pch_dephelp
  48. [ 18%] Built target gen_opencv_python_source
  49. [  6%] Built target opencv_ml_pch_dephelp
  50. [  9%] Built target opencv_test_flann_pch_dephelp
  51. [ 19%] Built target opencv_test_highgui_pch_dephelp
  52. [ 19%] Built target pch_Generate_opencv_perf_objdetect
  53. [  1%] Built target zlib
  54. [ 14%] Built target opencv_test_phase_unwrapping_pch_dephelp
  55. [  6%] Built target opencv_perf_imgproc_pch_dephelp
  56. [ 21%] Built target pch_Generate_opencv_reg
  57. [  5%] Built target opencv_test_reg_pch_dephelp
  58. Built target opencv_core_pch_dephelp
  59. [ 17%] Built target opencv_dnn_pch_dephelp
  60. [ 20%] Built target opencv_stitching_pch_dephelp
  61. [ 20%] Built target opencv_perf_optflow_pch_dephelp
  62. [ 21%] Built target opencv_test_aruco_pch_dephelp
  63. [  6%] Built target opencv_plot_pch_dephelp
  64. [ 22%] Built target opencv_test_xfeatures2d_pch_dephelp
  65. [ 23%] Built target pch_Generate_opencv_test_highgui
  66. [ 24%] Built target libpng
  67. [ 24%] Built target pch_Generate_opencv_perf_imgproc
  68. [ 21%] Built target opencv_perf_ximgproc_pch_dephelp
  69. [  9%] Built target opencv_test_superres_pch_dephelp
  70. [ 26%] Built target libtiff
  71. [ 19%] Built target opencv_test_stitching_pch_dephelp
  72. [ 14%] Built target opencv_test_xphoto_pch_dephelp
  73. [ 22%] [ 29%] Built target IlmImf
  74. [ 15%] Built target opencv_perf_video_pch_dephelp
  75. [ 15%] Built target opencv_test_img_hash_pch_dephelp
  76. [ 29%] Built target pch_Generate_opencv_dnn
  77. [ 17%] Built target opencv_perf_xphoto_pch_dephelp
  78. [  6%] Built target opencv_test_objdetect_pch_dephelp
  79. [ 17%] Built target opencv_bioinspired_pch_dephelp
  80. [ 21%] Built target opencv_test_ximgproc_pch_dephelp
  81. [ 23%] Built target pch_Generate_opencv_test_phase_unwrapping
  82. [ 21%] Built target pch_Generate_opencv_test_optflow
  83. [  7%] Built target opencv_perf_dnn_pch_dephelp
  84. [ 21%] Built target pch_Generate_opencv_perf_reg
  85. [ 19%] Built target pch_Generate_opencv_imgcodecs
  86. [ 24%] Built target pch_Generate_opencv_core
  87. [ 22%] Built target pch_Generate_opencv_bgsegm
  88. [ 29%] Built target pch_Generate_opencv_perf_xphoto
  89. [ 20%] Built target opencv_perf_stitching_pch_dephelp
  90. [ 22%] Built target pch_Generate_opencv_videoio
  91. [ 21%] Built target pch_Generate_opencv_test_imgproc
  92. [ 21%] Built target pch_Generate_opencv_test_core
  93. [ 29%] Built target pch_Generate_opencv_perf_video
  94. [ 22%] Built target pch_Generate_opencv_test_imgcodecs
  95. [ 29%] Built target pch_Generate_opencv_test_xfeatures2d
  96. [  6%] Built target opencv_objdetect_pch_dephelp
  97. [ 21%] [ 29%] Built target pch_Generate_opencv_perf_ximgproc
  98. [ 29%] Built target pch_Generate_opencv_test_stitching
  99. [ 29%] Built target opencv_test_tracking_pch_dephelp
  100. [ 30%] Built target pch_Generate_opencv_perf_stitching
  101. [ 30%] [ 20%] Built target pch_Generate_opencv_test_fuzzy
  102. [ 30%] Built target opencv_rgbd_pch_dephelp
  103. [ 30%] Built target opencv_perf_calib3d_pch_dephelp
  104. [ 26%] Built target pch_Generate_opencv_test_reg
  105. [  9%] Built target opencv_test_photo_pch_dephelp
  106. [ 29%] Built target opencv_perf_tracking_pch_dephelp
  107. [ 29%] Built target pch_Generate_opencv_test_objdetect
  108. [ 15%] Built target opencv_perf_bioinspired_pch_dephelp
  109. [ 22%] Built target pch_Generate_opencv_test_videoio
  110. [ 17%] Built target opencv_test_face_pch_dephelp
  111. [ 30%] Built target opencv_test_stereo_pch_dephelp
  112. [ 22%] Built target pch_Generate_opencv_ml
  113. [ 22%] Built target opencv_xfeatures2d_pch_dephelp
  114. [ 34%] Built target pch_Generate_opencv_perf_calib3d
  115. [ 20%] Built target pch_Generate_opencv_flann
  116. [ 29%] Built target pch_Generate_opencv_test_superres
  117. [ 20%] Built target pch_Generate_opencv_ts
  118. [ 21%] Built target opencv_aruco_pch_dephelp
  119. [ 19%] Built target opencv_perf_videoio_pch_dephelp
  120. [ 29%] Built target opencv_tracking_pch_dephelp
  121. [ 21%] Built target opencv_optflow_pch_dephelp
  122. [ 21%] Built target opencv_test_bgsegm_pch_dephelp
  123. [ 34%] Built target pch_Generate_opencv_perf_bioinspired
  124. [  6%] Built target opencv_perf_photo_pch_dephelp
  125. [ 34%] Built target pch_Generate_opencv_test_face
  126. [ 29%] Built target pch_Generate_opencv_test_aruco
  127. [ 30%] Built target pch_Generate_opencv_test_tracking
  128. [ 21%] [ 34%] Built target pch_Generate_opencv_aruco
  129. [ 30%] Built target pch_Generate_opencv_rgbd
  130. [ 30%] [ 34%] Built target pch_Generate_opencv_bioinspired
  131. [ 29%] Built target opencv_test_videostab_pch_dephelp
  132. [ 20%] Built target pch_Generate_opencv_shape
  133. [ 34%] Built target pch_Generate_opencv_perf_videoio
  134. [ 23%] Built target pch_Generate_opencv_test_flann
  135. [  7%] Built target opencv_surface_matching_pch_dephelp
  136. [ 30%] Built target opencv_test_calib3d_pch_dephelp
  137. [ 34%] Built target pch_Generate_opencv_tracking
  138. [ 19%] Built target opencv_superres_pch_dephelp
  139. [ 34%] Built target opencv_test_features2d_pch_dephelp
  140. [ 26%] Built target pch_Generate_opencv_perf_optflow
  141. [ 26%] Built target pch_Generate_opencv_stitching
  142. [ 30%] Built target opencv_test_text_pch_dephelp
  143. [ 30%] Built target opencv_text_pch_dephelp
  144. [  6%] Built target opencv_highgui_pch_dephelp
  145. [ 30%] Built target opencv_perf_stereo_pch_dephelp
  146. [ 21%] Built target pch_Generate_opencv_xobjdetectBuilt target opencv_core
  147.  
  148. [ 34%] Built target pch_Generate_opencv_optflow
  149. [ 34%] Built target opencv_perf_line_descriptor_pch_dephelp
  150. [ 20%] Built target pch_Generate_opencv_perf_imgcodecs
  151. [ 30%] Built target opencv_stereo_pch_dephelp
  152. [ 29%] Built target pch_Generate_opencv_test_xphoto
  153. [ 29%] Built target pch_Generate_opencv_test_img_hash
  154. [ 22%] Built target opencv_ximgproc_pch_dephelp
  155. [ 19%] Built target opencv_img_hash_pch_dephelp
  156. [ 29%] Built target pch_Generate_opencv_test_ximgproc
  157. [ 34%] Built target pch_Generate_opencv_test_bgsegm
  158. [ 29%] Built target opencv_structured_light_pch_dephelp
  159. [ 29%] Built target pch_Generate_opencv_plot
  160. [ 37%] Built target opencv_version
  161. Built target pch_Generate_opencv_perf_superres
  162. [ 30%] Built target opencv_test_rgbd_pch_dephelp
  163. [ 34%] Built target opencv_test_line_descriptor_pch_dephelp
  164. [ 37%] Built target pch_Generate_opencv_stereo
  165. [ 35%] Built target pch_Generate_opencv_test_features2d
  166. [ 34%] Built target opencv_perf_features2d_pch_dephelp
  167. [ 22%] Built target pch_Generate_opencv_dnn_objdetect
  168. [ 37%] Built target pch_Generate_opencv_ximgproc
  169. Built target pch_Generate_opencv_test_dnn
  170. [ 30%] Built target pch_Generate_opencv_objdetect
  171. [ 37%] Built target pch_Generate_opencv_perf_line_descriptor
  172. [ 40%] Built target opencv_imgproc
  173. [ 22%] Built target pch_Generate_opencv_test_shape
  174. [ 34%] Built target opencv_saliency_pch_dephelp
  175. [ 34%] Built target pch_Generate_opencv_test_photo
  176. [ 35%] Built target pch_Generate_opencv_test_calib3d
  177. [ 35%] Built target pch_Generate_opencv_surface_matching
  178. [ 35%] Built target pch_Generate_opencv_superres
  179. [ 30%] Built target opencv_ccalib_pch_dephelp
  180. [ 42%] Built target opencv_objdetect
  181. [ 42%] Built target opencv_fuzzy
  182. [ 34%] Built target pch_Generate_opencv_xfeatures2d
  183. [ 30%] Built target opencv_line_descriptor_pch_dephelp
  184. [ 41%] Built target pch_Generate_opencv_structured_light
  185. [ 44%] Built target pch_Generate_opencv_saliency
  186. [ 41%] Built target pch_Generate_opencv_test_line_descriptor
  187. [ 34%] Built target pch_Generate_opencv_perf_tracking
  188. [ 35%] Built target pch_Generate_opencv_highgui
  189. [ 34%] Built target pch_Generate_opencv_test_stereo
  190. [ 36%] Built target opencv_ml
  191. [ 22%] Built target opencv_perf_xfeatures2d_pch_dephelp
  192. [ 43%] Built target opencv_phase_unwrapping
  193. [ 20%] Built target pch_Generate_opencv_hfs
  194. [ 46%] Built target opencv_imgcodecs
  195. [ 45%] Built target opencv_plot
  196. [ 35%] Built target pch_Generate_opencv_text
  197. [ 30%] Built target opencv_calib3d_pch_dephelp
  198. [ 35%] Built target pch_Generate_opencv_perf_stereo
  199. [ 42%] Built target pch_Generate_opencv_perf_features2d
  200. Built target pch_Generate_opencv_video
  201. [ 44%] Built target opencv_xphoto
  202. [ 37%] Built target opencv_version_win32
  203. [ 41%] Built target pch_Generate_opencv_test_rgbd
  204. [ 47%] [ 47%] [ 48%] Built target pch_Generate_opencv_perf_xfeatures2d
  205. [ 34%] Built target pch_Generate_opencv_perf_photo
  206. [ 34%] Built target opencv_features2d_pch_dephelp
  207. [ 17%] Built target opencv_face_pch_dephelp
  208. [ 35%] Built target pch_Generate_opencv_test_videostab
  209. [ 47%] Built target pch_Generate_opencv_line_descriptor
  210. [ 48%] [ 37%] Built target pch_Generate_opencv_img_hash
  211. [ 30%] Built target pch_Generate_opencv_perf_dnn
  212. [ 29%] Built target opencv_videostab_pch_dephelp
  213. [ 45%] Built target pch_Generate_opencv_ccalib
  214. Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/resize_nearest_neighbor_layer.cpp.obj[ 42%] Built target opencv_photo
  215. [ 44%] Built target opencv_reg
  216. [ 35%] Built target pch_Generate_opencv_test_text
  217. [ 29%] Built target opencv_test_structured_light_pch_dephelp
  218. [ 37%] Built target opencv_flann
  219. Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/shift_layer.cpp.obj[ 49%] Built target pch_Generate_opencv_calib3d
  220. Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dshow.cpp.obj[ 48%] Built target opencv_xobjdetect
  221.  
  222. [ 49%] Built target opencv_hfs
  223.  
  224. [ 49%] Built target opencv_video
  225. [ 49%] Built target pch_Generate_opencv_face
  226.  
  227. [ 50%] Built target opencv_img_hash
  228. [ 49%] [ 51%] Built target pch_Generate_opencv_features2dBuilt target pch_Generate_opencv_videostab
  229.  
  230. Automatic MOC for target opencv_test_cvv_pch_dephelp
  231. [ 51%] Built target pch_Generate_opencv_test_structured_light
  232. [ 52%] Built target opencv_surface_matching
  233. C:\opencv\sources\modules\dnn\src\layers\shift_layer.cpp:160:17: error: prototype for 'cv::Ptr<cv::dnn::experimental_dnn_v4::ShiftLayer> cv::dnn::experimental_dnn_v4::ShiftLayer::create(const cv::dnn::experimental_dnn_v4::LayerParams&)' does not match any in class 'cv::dnn::experimental_dnn_v4::ShiftLayer'
  234.  Ptr<ShiftLayer> ShiftLayer::create(const LayerParams& params)
  235.                  ^
  236. In file included from C:/opencv-build/modules/dnn/precomp.hpp:62:0:
  237. C:/opencv/sources/modules/dnn/include/opencv2/dnn/all_layers.hpp:506:27: error: candidate is: static cv::Ptr<cv::dnn::experimental_dnn_v4::Layer> cv::dnn::experimental_dnn_v4::ShiftLayer::create(const cv::dnn::experimental_dnn_v4::LayerParams&)
  238.          static Ptr<Layer> create(const LayerParams& params);
  239.                            ^
  240. [ 52%] Built target opencv_shape
  241. [ 52%] Built target opencv_face
  242. [ 52%] Built target opencv_test_cvv_pch_dephelp_autogen
  243. modules\dnn\CMakeFiles\opencv_dnn.dir\build.make:722: recipe for target 'modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/shift_layer.cpp.obj' failed
  244. mingw32-make[2]: *** [modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/shift_layer.cpp.obj] Error 1
  245. mingw32-make[2]: *** Waiting for unfinished jobs....
  246. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:14:1: error: expected class-name before '{' token
  247.  {
  248.  ^
  249. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp: In constructor 'cv::dnn::ResizeNearestNeighborLayerImpl::ResizeNearestNeighborLayerImpl(const cv::dnn::experimental_dnn_v4::LayerParams&)':
  250. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:18:29: error: 'setParamsFrom' was not declared in this scope
  251.          setParamsFrom(params);
  252.                              ^
  253. In file included from C:/opencv-build/modules/dnn/precomp.hpp:60:0:
  254. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp: In member function 'void cv::dnn::ResizeNearestNeighborLayerImpl::forward(cv::InputArrayOfArrays, cv::OutputArrayOfArrays, cv::OutputArrayOfArrays)':
  255. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:43:42: error: 'name' was not declared in this scope
  256.          CV_TRACE_ARG_VALUE(name, "name", name.c_str());
  257.                                           ^
  258. C:/opencv/sources/modules/core/include/opencv2/core/utils/trace.hpp:195:73: note: in definition of macro 'CV__TRACE_ARG_VALUE'
  259.          CV_TRACE_NS::details::traceArg((CV__TRACE_ARG_VARNAME(arg_id)), value);
  260.                                                                          ^
  261. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:43:9: note: in expansion of macro 'CV_TRACE_ARG_VALUE'
  262.          CV_TRACE_ARG_VALUE(name, "name", name.c_str());
  263.          ^
  264. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:45:71: error: cannot call member function 'void cv::dnn::experimental_dnn_v4::Layer::forward_fallback(cv::InputArrayOfArrays, cv::OutputArrayOfArrays, cv::OutputArrayOfArrays)' without object
  265.          Layer::forward_fallback(inputs_arr, outputs_arr, internals_arr);
  266.                                                                        ^
  267. In file included from C:/opencv-build/modules/dnn/precomp.hpp:60:0:
  268. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp: In member function 'void cv::dnn::ResizeNearestNeighborLayerImpl::forward(std::vector<cv::Mat*>&, std::vector<cv::Mat>&, std::vector<cv::Mat>&)':
  269. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:51:42: error: 'name' was not declared in this scope
  270.          CV_TRACE_ARG_VALUE(name, "name", name.c_str());
  271.                                           ^
  272. C:/opencv/sources/modules/core/include/opencv2/core/utils/trace.hpp:195:73: note: in definition of macro 'CV__TRACE_ARG_VALUE'
  273.          CV_TRACE_NS::details::traceArg((CV__TRACE_ARG_VARNAME(arg_id)), value);
  274.                                                                          ^
  275. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:51:9: note: in expansion of macro 'CV_TRACE_ARG_VALUE'
  276.          CV_TRACE_ARG_VALUE(name, "name", name.c_str());
  277.          ^
  278. [ 52%] Built target opencv_test_cvv_pch_dephelp
  279. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp: At global scope:
  280. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:73:5: error: 'ResizeNearestNeighborLayer' was not declared in this scope
  281.  Ptr<ResizeNearestNeighborLayer> ResizeNearestNeighborLayer::create(const LayerParams& params)
  282.      ^
  283. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:73:31: error: template argument 1 is invalid
  284.  Ptr<ResizeNearestNeighborLayer> ResizeNearestNeighborLayer::create(const LayerParams& params)
  285.                                ^
  286. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:73:33: error: 'ResizeNearestNeighborLayer' has not been declared
  287.  Ptr<ResizeNearestNeighborLayer> ResizeNearestNeighborLayer::create(const LayerParams& params)
  288.                                  ^
  289. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp: In function 'int cv::dnn::create(const cv::dnn::experimental_dnn_v4::LayerParams&)':
  290. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:75:16: error: 'ResizeNearestNeighborLayer' was not declared in this scope
  291.      return Ptr<ResizeNearestNeighborLayer>(new ResizeNearestNeighborLayerImpl(params));
  292.                 ^
  293. C:\opencv\sources\modules\dnn\src\layers\resize_nearest_neighbor_layer.cpp:75:42: error: template argument 1 is invalid
  294.      return Ptr<ResizeNearestNeighborLayer>(new ResizeNearestNeighborLayerImpl(params));
  295.                                           ^
  296. [ 52%] Built target pch_Generate_opencv_test_cvv
  297. modules\dnn\CMakeFiles\opencv_dnn.dir\build.make:694: recipe for target 'modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/resize_nearest_neighbor_layer.cpp.obj' failed
  298. mingw32-make[2]: *** [modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/resize_nearest_neighbor_layer.cpp.obj] Error 1
  299. CMakeFiles\Makefile2:6104: recipe for target 'modules/dnn/CMakeFiles/opencv_dnn.dir/all' failed
  300. mingw32-make[1]: *** [modules/dnn/CMakeFiles/opencv_dnn.dir/all] Error 2
  301. mingw32-make[1]: *** Waiting for unfinished jobs....
  302. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  303.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  304. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp: In member function 'void videoInput::getMediaSubtypeAsString(GUID, char*)':
  305. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2184:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  306.      if( type == MEDIASUBTYPE_RGB24)     sprintf(tmpStr, "RGB24");
  307.                                          ^
  308. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2184:57: warning: left operand of comma operator has no effect [-Wunused-value]
  309.      if( type == MEDIASUBTYPE_RGB24)     sprintf(tmpStr, "RGB24");
  310.                                                          ^
  311. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2185:5: error: 'else' without a previous 'if'
  312.      else if(type == MEDIASUBTYPE_RGB32) sprintf(tmpStr, "RGB32");
  313.      ^
  314. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  315.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  316. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2185:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  317.      else if(type == MEDIASUBTYPE_RGB32) sprintf(tmpStr, "RGB32");
  318.                                          ^
  319. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2185:57: warning: left operand of comma operator has no effect [-Wunused-value]
  320.      else if(type == MEDIASUBTYPE_RGB32) sprintf(tmpStr, "RGB32");
  321.                                                          ^
  322. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2186:5: error: 'else' without a previous 'if'
  323.      else if(type == MEDIASUBTYPE_RGB555)sprintf(tmpStr, "RGB555");
  324.      ^
  325. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  326.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  327. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2186:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  328.      else if(type == MEDIASUBTYPE_RGB555)sprintf(tmpStr, "RGB555");
  329.                                          ^
  330. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2186:57: warning: left operand of comma operator has no effect [-Wunused-value]
  331.      else if(type == MEDIASUBTYPE_RGB555)sprintf(tmpStr, "RGB555");
  332.                                                          ^
  333. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2187:5: error: 'else' without a previous 'if'
  334.      else if(type == MEDIASUBTYPE_RGB565)sprintf(tmpStr, "RGB565");
  335.      ^
  336. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  337.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  338. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2187:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  339.      else if(type == MEDIASUBTYPE_RGB565)sprintf(tmpStr, "RGB565");
  340.                                          ^
  341. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2187:57: warning: left operand of comma operator has no effect [-Wunused-value]
  342.      else if(type == MEDIASUBTYPE_RGB565)sprintf(tmpStr, "RGB565");
  343.                                                          ^
  344. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2188:5: error: 'else' without a previous 'if'
  345.      else if(type == MEDIASUBTYPE_YUY2)  sprintf(tmpStr, "YUY2");
  346.      ^
  347. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  348.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  349. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2188:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  350.      else if(type == MEDIASUBTYPE_YUY2)  sprintf(tmpStr, "YUY2");
  351.                                          ^
  352. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2188:57: warning: left operand of comma operator has no effect [-Wunused-value]
  353.      else if(type == MEDIASUBTYPE_YUY2)  sprintf(tmpStr, "YUY2");
  354.                                                          ^
  355. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2189:5: error: 'else' without a previous 'if'
  356.      else if(type == MEDIASUBTYPE_YVYU)  sprintf(tmpStr, "YVYU");
  357.      ^
  358. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  359.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  360. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2189:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  361.      else if(type == MEDIASUBTYPE_YVYU)  sprintf(tmpStr, "YVYU");
  362.                                          ^
  363. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2189:57: warning: left operand of comma operator has no effect [-Wunused-value]
  364.      else if(type == MEDIASUBTYPE_YVYU)  sprintf(tmpStr, "YVYU");
  365.                                                          ^
  366. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2190:5: error: 'else' without a previous 'if'
  367.      else if(type == MEDIASUBTYPE_YUYV)  sprintf(tmpStr, "YUYV");
  368.      ^
  369. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  370.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  371. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2190:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  372.      else if(type == MEDIASUBTYPE_YUYV)  sprintf(tmpStr, "YUYV");
  373.                                          ^
  374. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2190:57: warning: left operand of comma operator has no effect [-Wunused-value]
  375.      else if(type == MEDIASUBTYPE_YUYV)  sprintf(tmpStr, "YUYV");
  376.                                                          ^
  377. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2191:5: error: 'else' without a previous 'if'
  378.      else if(type == MEDIASUBTYPE_IYUV)  sprintf(tmpStr, "IYUV");
  379.      ^
  380. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  381.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  382. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2191:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  383.      else if(type == MEDIASUBTYPE_IYUV)  sprintf(tmpStr, "IYUV");
  384.                                          ^
  385. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2191:57: warning: left operand of comma operator has no effect [-Wunused-value]
  386.      else if(type == MEDIASUBTYPE_IYUV)  sprintf(tmpStr, "IYUV");
  387.                                                          ^
  388. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2192:5: error: 'else' without a previous 'if'
  389.      else if(type == MEDIASUBTYPE_UYVY)  sprintf(tmpStr, "UYVY");
  390.      ^
  391. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  392.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  393. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2192:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  394.      else if(type == MEDIASUBTYPE_UYVY)  sprintf(tmpStr, "UYVY");
  395.                                          ^
  396. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2192:57: warning: left operand of comma operator has no effect [-Wunused-value]
  397.      else if(type == MEDIASUBTYPE_UYVY)  sprintf(tmpStr, "UYVY");
  398.                                                          ^
  399. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2193:5: error: 'else' without a previous 'if'
  400.      else if(type == MEDIASUBTYPE_YV12)  sprintf(tmpStr, "YV12");
  401.      ^
  402. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  403.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  404. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2193:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  405.      else if(type == MEDIASUBTYPE_YV12)  sprintf(tmpStr, "YV12");
  406.                                          ^
  407. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2193:57: warning: left operand of comma operator has no effect [-Wunused-value]
  408.      else if(type == MEDIASUBTYPE_YV12)  sprintf(tmpStr, "YV12");
  409.                                                          ^
  410. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2194:5: error: 'else' without a previous 'if'
  411.      else if(type == MEDIASUBTYPE_YVU9)  sprintf(tmpStr, "YVU9");
  412.      ^
  413. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  414.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  415. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2194:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  416.      else if(type == MEDIASUBTYPE_YVU9)  sprintf(tmpStr, "YVU9");
  417.                                          ^
  418. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2194:57: warning: left operand of comma operator has no effect [-Wunused-value]
  419.      else if(type == MEDIASUBTYPE_YVU9)  sprintf(tmpStr, "YVU9");
  420.                                                          ^
  421. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2195:5: error: 'else' without a previous 'if'
  422.      else if(type == MEDIASUBTYPE_Y411)  sprintf(tmpStr, "Y411");
  423.      ^
  424. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  425.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  426. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2195:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  427.      else if(type == MEDIASUBTYPE_Y411)  sprintf(tmpStr, "Y411");
  428.                                          ^
  429. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2195:57: warning: left operand of comma operator has no effect [-Wunused-value]
  430.      else if(type == MEDIASUBTYPE_Y411)  sprintf(tmpStr, "Y411");
  431.                                                          ^
  432. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2196:5: error: 'else' without a previous 'if'
  433.      else if(type == MEDIASUBTYPE_Y41P)  sprintf(tmpStr, "Y41P");
  434.      ^
  435. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  436.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  437. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2196:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  438.      else if(type == MEDIASUBTYPE_Y41P)  sprintf(tmpStr, "Y41P");
  439.                                          ^
  440. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2196:57: warning: left operand of comma operator has no effect [-Wunused-value]
  441.      else if(type == MEDIASUBTYPE_Y41P)  sprintf(tmpStr, "Y41P");
  442.                                                          ^
  443. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2197:5: error: 'else' without a previous 'if'
  444.      else if(type == MEDIASUBTYPE_Y211)  sprintf(tmpStr, "Y211");
  445.      ^
  446. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  447.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  448. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2197:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  449.      else if(type == MEDIASUBTYPE_Y211)  sprintf(tmpStr, "Y211");
  450.                                          ^
  451. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2197:57: warning: left operand of comma operator has no effect [-Wunused-value]
  452.      else if(type == MEDIASUBTYPE_Y211)  sprintf(tmpStr, "Y211");
  453.                                                          ^
  454. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2198:5: error: 'else' without a previous 'if'
  455.      else if(type == MEDIASUBTYPE_AYUV)  sprintf(tmpStr, "AYUV");
  456.      ^
  457. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  458.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  459. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2198:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  460.      else if(type == MEDIASUBTYPE_AYUV)  sprintf(tmpStr, "AYUV");
  461.                                          ^
  462. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2198:57: warning: left operand of comma operator has no effect [-Wunused-value]
  463.      else if(type == MEDIASUBTYPE_AYUV)  sprintf(tmpStr, "AYUV");
  464.                                                          ^
  465. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2199:5: error: 'else' without a previous 'if'
  466.      else if(type == MEDIASUBTYPE_MJPG)  sprintf(tmpStr, "MJPG");
  467.      ^
  468. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  469.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  470. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2199:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  471.      else if(type == MEDIASUBTYPE_MJPG)  sprintf(tmpStr, "MJPG");
  472.                                          ^
  473. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2199:57: warning: left operand of comma operator has no effect [-Wunused-value]
  474.      else if(type == MEDIASUBTYPE_MJPG)  sprintf(tmpStr, "MJPG");
  475.                                                          ^
  476. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2200:5: error: 'else' without a previous 'if'
  477.      else if(type == MEDIASUBTYPE_Y800)  sprintf(tmpStr, "Y800");
  478.      ^
  479. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  480.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  481. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2200:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  482.      else if(type == MEDIASUBTYPE_Y800)  sprintf(tmpStr, "Y800");
  483.                                          ^
  484. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2200:57: warning: left operand of comma operator has no effect [-Wunused-value]
  485.      else if(type == MEDIASUBTYPE_Y800)  sprintf(tmpStr, "Y800");
  486.                                                          ^
  487. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2201:5: error: 'else' without a previous 'if'
  488.      else if(type == MEDIASUBTYPE_Y8)    sprintf(tmpStr, "Y8");
  489.      ^
  490. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  491.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  492. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2201:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  493.      else if(type == MEDIASUBTYPE_Y8)    sprintf(tmpStr, "Y8");
  494.                                          ^
  495. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2201:57: warning: left operand of comma operator has no effect [-Wunused-value]
  496.      else if(type == MEDIASUBTYPE_Y8)    sprintf(tmpStr, "Y8");
  497.                                                          ^
  498. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2202:5: error: 'else' without a previous 'if'
  499.      else if(type == MEDIASUBTYPE_GREY)  sprintf(tmpStr, "GREY");
  500.      ^
  501. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  502.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  503. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2202:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  504.      else if(type == MEDIASUBTYPE_GREY)  sprintf(tmpStr, "GREY");
  505.                                          ^
  506. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2202:57: warning: left operand of comma operator has no effect [-Wunused-value]
  507.      else if(type == MEDIASUBTYPE_GREY)  sprintf(tmpStr, "GREY");
  508.                                                          ^
  509. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2203:5: error: 'else' without a previous 'if'
  510.      else if(type == MEDIASUBTYPE_I420)  sprintf(tmpStr, "I420");
  511.      ^
  512. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  513.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  514. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2203:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  515.      else if(type == MEDIASUBTYPE_I420)  sprintf(tmpStr, "I420");
  516.                                          ^
  517. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2203:57: warning: left operand of comma operator has no effect [-Wunused-value]
  518.      else if(type == MEDIASUBTYPE_I420)  sprintf(tmpStr, "I420");
  519.                                                          ^
  520. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2204:5: error: 'else' without a previous 'if'
  521.      else sprintf(tmpStr, "OTHER");
  522.      ^
  523. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  524.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  525. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2204:10: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  526.      else sprintf(tmpStr, "OTHER");
  527.           ^
  528. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2204:26: warning: left operand of comma operator has no effect [-Wunused-value]
  529.      else sprintf(tmpStr, "OTHER");
  530.                           ^
  531. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  532.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  533. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp: In member function 'void videoInput::getVideoPropertyAsString(int, char*)':
  534. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2230:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  535.      if ( prop==VideoProcAmp_Brightness) sprintf(tmpStr, "Brightness");
  536.                                          ^
  537. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2230:57: warning: left operand of comma operator has no effect [-Wunused-value]
  538.      if ( prop==VideoProcAmp_Brightness) sprintf(tmpStr, "Brightness");
  539.                                                          ^
  540. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2231:5: error: 'else' without a previous 'if'
  541.      else if ( prop==VideoProcAmp_Contrast) sprintf(tmpStr, "Contrast");
  542.      ^
  543. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  544.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  545. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2231:44: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  546.      else if ( prop==VideoProcAmp_Contrast) sprintf(tmpStr, "Contrast");
  547.                                             ^
  548. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2231:60: warning: left operand of comma operator has no effect [-Wunused-value]
  549.      else if ( prop==VideoProcAmp_Contrast) sprintf(tmpStr, "Contrast");
  550.                                                             ^
  551. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2232:5: error: 'else' without a previous 'if'
  552.      else if ( prop==VideoProcAmp_Saturation) sprintf(tmpStr, "Saturation");
  553.      ^
  554. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  555.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  556. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2232:46: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  557.      else if ( prop==VideoProcAmp_Saturation) sprintf(tmpStr, "Saturation");
  558.                                               ^
  559. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2232:62: warning: left operand of comma operator has no effect [-Wunused-value]
  560.      else if ( prop==VideoProcAmp_Saturation) sprintf(tmpStr, "Saturation");
  561.                                                               ^
  562. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2233:5: error: 'else' without a previous 'if'
  563.      else if ( prop==VideoProcAmp_Hue) sprintf(tmpStr, "Hue");
  564.      ^
  565. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  566.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  567. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2233:39: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  568.      else if ( prop==VideoProcAmp_Hue) sprintf(tmpStr, "Hue");
  569.                                        ^
  570. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2233:55: warning: left operand of comma operator has no effect [-Wunused-value]
  571.      else if ( prop==VideoProcAmp_Hue) sprintf(tmpStr, "Hue");
  572.                                                        ^
  573. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2234:5: error: 'else' without a previous 'if'
  574.      else if ( prop==VideoProcAmp_Gain) sprintf(tmpStr, "Gain");
  575.      ^
  576. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  577.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  578. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2234:40: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  579.      else if ( prop==VideoProcAmp_Gain) sprintf(tmpStr, "Gain");
  580.                                         ^
  581. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2234:56: warning: left operand of comma operator has no effect [-Wunused-value]
  582.      else if ( prop==VideoProcAmp_Gain) sprintf(tmpStr, "Gain");
  583.                                                         ^
  584. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2235:5: error: 'else' without a previous 'if'
  585.      else if ( prop==VideoProcAmp_Gamma) sprintf(tmpStr, "Gamma");
  586.      ^
  587. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  588.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  589. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2235:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  590.      else if ( prop==VideoProcAmp_Gamma) sprintf(tmpStr, "Gamma");
  591.                                          ^
  592. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2235:57: warning: left operand of comma operator has no effect [-Wunused-value]
  593.      else if ( prop==VideoProcAmp_Gamma) sprintf(tmpStr, "Gamma");
  594.                                                          ^
  595. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2236:5: error: 'else' without a previous 'if'
  596.      else if ( prop==VideoProcAmp_ColorEnable) sprintf(tmpStr, "ColorEnable");
  597.      ^
  598. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  599.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  600. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2236:47: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  601.      else if ( prop==VideoProcAmp_ColorEnable) sprintf(tmpStr, "ColorEnable");
  602.                                                ^
  603. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2236:63: warning: left operand of comma operator has no effect [-Wunused-value]
  604.      else if ( prop==VideoProcAmp_ColorEnable) sprintf(tmpStr, "ColorEnable");
  605.                                                                ^
  606. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2237:5: error: 'else' without a previous 'if'
  607.      else if ( prop==VideoProcAmp_Sharpness) sprintf(tmpStr, "Sharpness");
  608.      ^
  609. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  610.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  611. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2237:45: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  612.      else if ( prop==VideoProcAmp_Sharpness) sprintf(tmpStr, "Sharpness");
  613.                                              ^
  614. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2237:61: warning: left operand of comma operator has no effect [-Wunused-value]
  615.      else if ( prop==VideoProcAmp_Sharpness) sprintf(tmpStr, "Sharpness");
  616.                                                              ^
  617. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2238:5: error: 'else' without a previous 'if'
  618.      else sprintf(tmpStr, "%u",prop);
  619.      ^
  620. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  621.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  622. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2238:10: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  623.      else sprintf(tmpStr, "%u",prop);
  624.           ^
  625. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2238:26: warning: left operand of comma operator has no effect [-Wunused-value]
  626.      else sprintf(tmpStr, "%u",prop);
  627.                           ^
  628. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2238:31: warning: right operand of comma operator has no effect [-Wunused-value]
  629.      else sprintf(tmpStr, "%u",prop);
  630.                                ^
  631. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  632.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  633. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp: In member function 'void videoInput::getCameraPropertyAsString(int, char*)':
  634. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2333:35: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  635.      if ( prop==CameraControl_Pan) sprintf(tmpStr, "Pan");
  636.                                    ^
  637. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2333:51: warning: left operand of comma operator has no effect [-Wunused-value]
  638.      if ( prop==CameraControl_Pan) sprintf(tmpStr, "Pan");
  639.                                                    ^
  640. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2334:5: error: 'else' without a previous 'if'
  641.      else if ( prop==CameraControl_Tilt) sprintf(tmpStr, "Tilt");
  642.      ^
  643. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  644.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  645. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2334:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  646.      else if ( prop==CameraControl_Tilt) sprintf(tmpStr, "Tilt");
  647.                                          ^
  648. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2334:57: warning: left operand of comma operator has no effect [-Wunused-value]
  649.      else if ( prop==CameraControl_Tilt) sprintf(tmpStr, "Tilt");
  650.                                                          ^
  651. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2335:5: error: 'else' without a previous 'if'
  652.      else if ( prop==CameraControl_Roll) sprintf(tmpStr, "Roll");
  653.      ^
  654. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  655.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  656. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2335:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  657.      else if ( prop==CameraControl_Roll) sprintf(tmpStr, "Roll");
  658.                                          ^
  659. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2335:57: warning: left operand of comma operator has no effect [-Wunused-value]
  660.      else if ( prop==CameraControl_Roll) sprintf(tmpStr, "Roll");
  661.                                                          ^
  662. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2336:5: error: 'else' without a previous 'if'
  663.      else if ( prop==CameraControl_Zoom) sprintf(tmpStr, "Zoom");
  664.      ^
  665. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  666.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  667. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2336:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  668.      else if ( prop==CameraControl_Zoom) sprintf(tmpStr, "Zoom");
  669.                                          ^
  670. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2336:57: warning: left operand of comma operator has no effect [-Wunused-value]
  671.      else if ( prop==CameraControl_Zoom) sprintf(tmpStr, "Zoom");
  672.                                                          ^
  673. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2337:5: error: 'else' without a previous 'if'
  674.      else if ( prop==CameraControl_Exposure) sprintf(tmpStr, "Exposure");
  675.      ^
  676. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  677.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  678. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2337:45: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  679.      else if ( prop==CameraControl_Exposure) sprintf(tmpStr, "Exposure");
  680.                                              ^
  681. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2337:61: warning: left operand of comma operator has no effect [-Wunused-value]
  682.      else if ( prop==CameraControl_Exposure) sprintf(tmpStr, "Exposure");
  683.                                                              ^
  684. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2338:5: error: 'else' without a previous 'if'
  685.      else if ( prop==CameraControl_Iris) sprintf(tmpStr, "Iris");
  686.      ^
  687. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  688.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  689. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2338:41: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  690.      else if ( prop==CameraControl_Iris) sprintf(tmpStr, "Iris");
  691.                                          ^
  692. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2338:57: warning: left operand of comma operator has no effect [-Wunused-value]
  693.      else if ( prop==CameraControl_Iris) sprintf(tmpStr, "Iris");
  694.                                                          ^
  695. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2339:5: error: 'else' without a previous 'if'
  696.      else if ( prop==CameraControl_Focus) sprintf(tmpStr, "Focus");
  697.      ^
  698. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  699.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  700. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2339:42: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  701.      else if ( prop==CameraControl_Focus) sprintf(tmpStr, "Focus");
  702.                                           ^
  703. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2339:58: warning: left operand of comma operator has no effect [-Wunused-value]
  704.      else if ( prop==CameraControl_Focus) sprintf(tmpStr, "Focus");
  705.                                                           ^
  706. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2340:5: error: 'else' without a previous 'if'
  707.      else sprintf(tmpStr, "%u",prop);
  708.      ^
  709. In file included from C:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/DShow.h:33:0,
  710.                  from C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:111:
  711. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2340:10: error: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope
  712.      else sprintf(tmpStr, "%u",prop);
  713.           ^
  714. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2340:26: warning: left operand of comma operator has no effect [-Wunused-value]
  715.      else sprintf(tmpStr, "%u",prop);
  716.                           ^
  717. C:\opencv\sources\modules\videoio\src\cap_dshow.cpp:2340:31: warning: right operand of comma operator has no effect [-Wunused-value]
  718.      else sprintf(tmpStr, "%u",prop);
  719.                                ^
  720. modules\videoio\CMakeFiles\opencv_videoio.dir\build.make:174: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dshow.cpp.obj' failed
  721. mingw32-make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dshow.cpp.obj] Error 1
  722. CMakeFiles\Makefile2:7965: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/all' failed
  723. mingw32-make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
  724. Makefile:161: recipe for target 'all' failed
  725. mingw32-make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement