Solve error "libgtk2.0-dev and pkg-config" when install opencv

There is a problem happen when i install opencv according the document which given by Official. Here comes the error: 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/je…

Read more