Ubuntu 或者 Debian 系统显示窗口的时候遇到了这个问题

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’

解决办法

apt-get install install libgtk2.0-dev pkg-config

安装成功之后,重新运行cmake对源码进行编译,安装。

相关文章:

  • 2021-05-29
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2022-03-03
  • 2021-10-06
  • 2022-02-07
  • 2021-08-25
猜你喜欢
  • 2021-05-02
  • 2022-02-27
  • 2021-11-18
  • 2021-12-06
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案