I am using Debian 9. Using conda installed the intel python distribution. The OpenCV package's GUI module doesn't work.
The error messages are:
error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage
How could I fix it ? Thanks!
Rohit J. (Intel) wrote:
We don't build OpenCV with GTK support; you can build using sources with support for GTK. You need to have libgtk / libgtk2.x installed at a path that could be discovered by build script. Depending on the version of libgtk installed, passing "-DWITH_GTK=1" / "-DWITH_GTK_2_X=1" to cmake would ensure that built OpenCV has GTK support, and you'd be able to use "cv.ShowImage()" from the interpreter.
Thanks for your reply. I know how to compile OpenCV with a GUI support, but is the OpenCV module from Intel's channel optimized with MKL and other routines ? This is the reason why I use intel's python distribution. I wonder what's the difference between intel's OpenCV module and the one I could build from source codes ? If there's no big difference, I could build it myself.