OpenCV Error: Null pointer (NULL guiReceiver (please create a window))
Under Ubuntu 15.04 I am trying to compile in QTCreator an application that uses OpenCV and CUDA to display Intel DepthSense 3D camera. But I suspect that when the window with camera frame attempts to appear the following error occurs:
OpenCV Error: Null pointer (NULL guiReceiver (please create a window)) in cvDestroyWindow, file /home/brian/opencv/modules/highgui/src/window_QT.cpp, line 497 terminate called after throwing an instance of 'cv::Exception' what(): /home/brian/opencv/modules/highgui/src/window_QT.cpp:497: error: (-27) NULL guiReceiver (please create a window) in function cvDestroyWindow The program has unexpectedly finished. /home/brian/Scherady/build-htrack-Desktop-Default/htrack_atb crashed'.
Any help? Thank you.
Facing the same. Unbelievable that no one has replied yet.