Ask Your Question
0

Installing on Fedora, no image shown

asked 2013-08-19 06:37:25 -0600

Ety gravatar image
OpenCV Error: Unspecified error (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 cvShowImage, file /home/ety/opencv/modules/highgui/src/window.cpp, line 501
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/ety/opencv/modules/highgui/src/window.cpp:501: 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

Abandon

Hello, I am trying to install OpenCV on Fedora 19 (Xfce). My program compiles, but whenever I call a graphic function like cvShowImage , it fails with the above message. I have installed GTK3 and all dependencies before uninstalling/reinstalling OpenCV again and again, with CMake/make/make install.

Thanks if anyone has a tip :)

edit retag flag offensive close merge delete

Comments

1

i think it wants gtk2, not gtk3

berak gravatar imageberak ( 2013-08-19 06:45:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-27 07:09:02 -0600

zywcfC gravatar image

updated 2014-09-27 21:20:06 -0600

I got the same problem as you before, and now I have resolved it. So I suggest you to install the gtk2 and gtk2-devel.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-08-19 06:37:25 -0600

Seen: 1,098 times

Last updated: Sep 27 '14