Opencv highgui module in windows 10 [closed]
Hello.
I Built opencv 3.0 master branch from source using cmake and visual studio 2013 community version. Aditional support was enabled for CUDA and VTK. Everything built fine, but when I call function imshow(), I get following error in console:
opencv error: Unspecified error (function ins not implemented. Rebuild the library with windows, GTK+ 2.x or Carbon support)....
It seems that it has something to do with window UI framework. In cmake configuration Win32UI option was selected and no errors appeared while building
thanks.
Fix: By following suggestions in comments I rebuild OpenCV with Qt support (beforehand installing Qt 5.5 itself) and it solved the problem.
Try this post be sure to delete highgui.lib before rebuild opencv. I've windows 10 with vs2013 and it's ok
I guess the problem is that you need to rebuild OpenCV with the GTK-support activated, or you can use Qt instead.
-D WITH_GTK=ON
orWITH_QT=ON
. For the latter you will need to download and install the Qt libraries though.Errors message is here as @theodore say be sure that in cmake one option is checked
WITH_WIN32UI
WITH_QT
I cannot find WITH_GTK on windows.
Thanks for replies. Will try to rebuild with Qt support. Weird thing is that previously building OpenCV I didn't have to explicitly set GTK+ support. Also CMake GUI version doesn't seem to include that option.
If you execute the following code, you can know the information about compiled OpenCV library.
And, please tell me the version of Qt that you installed?