I have been developing an application using opencv4tegra in JetsonTX1 board. For optimizing the application I tried to display gpuMat using imshow. And also it is stated in imshow documentation that it supports gpuMat provided window should have OpenGL support.
So I created window using OpenGL support and gave gpuMat frame to imshow,but while executing imshow gives the following error.
OpenCV Error: No OpenGL support (Library was built without OpenGL support) in cvNamedWindow, file /hdd/buildbot/slave_jetson_tx_4/35-O4T-L4T-R24-armhf/opencv/modules/highgui/src/window_gtk.cpp, line 845 terminate called after throwing an instance of 'cv::Exception' what(): /hdd/buildbot/slave_jetson_tx_4/35-O4T-L4T-R24-armhf/opencv/modules/highgui/src/window_gtk.cpp:845: error: (-218) Library was built without OpenGL support in function cvNamedWindow
Am I missing something. Any help will be appreciated.
Thanks in advance