Runtime Error

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


Previous occurences:

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 close merge delete



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: 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