ubuntu+opencv3.0安装 If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run

问题:

error: (-2: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 function ‘cvNamedWindow’

 

解决方案:
 https://stackoverflow.com/questions/28776053/opencv-gtk2-x-error

打钩的那篇

文中

cd /home/user_name/OpenCv
mkdir Release
cd Release

user_name/opencv是指你安装opencv安装文件的位置

 

不得不说 stackoverflow.是个好东西  

你可能感兴趣的:(ubuntu+opencv3.0安装 If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run)