Runtime Error [closed]

asked 2013-07-24 07:21:32 -0500

John Doe gravatar image

updated 2013-07-24 10:13:43 -0500

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-22 18:35:46.223399

Comments

1

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-24 07:24:46 -0500 )edit

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

John Doe gravatar imageJohn Doe ( 2013-07-24 07:33:16 -0500 )edit