OpenCV Installation on Ubuntu 16.04

asked 2016-11-22 09:39:05 -0500

Hey there!

Is here anyone familiar with the installtion of OpenCV for Ubuntu 16.04? Please?! :D

I followed the official installation way (http://docs.opencv.org/2.4.13/doc/tut... then the parts for Linux und GCC) step by step, but if I try to execute the example in "http://docs.opencv.org/2.4.13/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.html#linux-gcc-usage" my Laptop told me:

"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 cvNamedWindow, file /home/timmaeh/Dokumente/Uni/CompVis_Rob/ComputerVision/Workspace/gcc/opencv/modules/highgui/src/window.cpp, line 550 terminate called after throwing an instance of 'cv::Exception' what(): /home/timmaeh/Dokumente/Uni/CompVis_Rob/ComputerVision/Workspace/gcc/opencv/modules/highgui/src/window.cpp:550: 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 cvNamedWindow"

I checked the libs (libgtk2.0-dev and pkg-config) and both are installed. I tried few of the tipps Google told me, but none of them worked.

I would be very pleased, if someone could help a little noob! :D

edit retag flag offensive close merge delete

Comments

i know, it's long, but can you add your cmake output to your question ?

berak gravatar imageberak ( 2016-11-22 10:54:53 -0500 )edit