can someone help me out

asked 2020-07-10 18:14:17 -0500

updated 2020-07-11 03:32:40 -0500

supra56 gravatar image

can someone help me out cv2.error:

OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa 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'
edit retag flag offensive close merge delete

Comments

how / from where did you install that ?

did you build it yourself ?

accidentally un-ticked WITH_WIN32UI in cmake ?

please edit your question, and add the output of cv2.getBuildInformation(), thank you.

berak gravatar imageberak ( 2020-07-11 02:12:20 -0500 )edit

Try this:

sudo apt install libgtk2.0-dev and pkg-config -y

, then re-run cmake

Or:

sudo make install
supra56 gravatar imagesupra56 ( 2020-07-11 22:19:59 -0500 )edit