Runtime Error [closed]
OpenCV 2.4.4 Windows 7 64 bit mingw32 with gcc 4.8.0 I am linking the 32 bit libraries
callstack https://dl.dropboxusercontent.com/u/54747914/share/opencv.png
Previous occurences: http://answers.opencv.org/question/172/segfault-in-opencv-242-and-mingw-on-winxp/ http://answers.opencv.org/question/2961/segmentation-fault-in-opencv-249master-branch-in/ http://answers.opencv.org/question/8479/runtime-error-0xc0000005-on-windows-with-244-and/
Edit: Apparently the support for DirectShow in mingw became pretty good recently, so I solved my problem by not using OpenCV at all.
It is normal that this crashes. You have no highgui library included, which is needed to use the namedWindow function. Please add the inclusion of this header file first.
opencv.hpp includes highgui.hpp: https://dl.dropboxusercontent.com/u/54747914/share/highgui.png further it compiles without errors, which it wouldn't if it couldn't find that function