OPENCV libgtk2.0-dev 的问题

1\必须先

apt install libgtk2.0-dev pkg-config

2\然后

opencv :

make clean

make uninstall

后重新编译

3\可执行程序也重新编译。

 

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
 

你可能感兴趣的:(OPENCV libgtk2.0-dev 的问题)