相关疑难解决方法(0)

OpenCV GTK + 2.x错误

我按照这些步骤()安装了OpenCV.在尝试编译一个示例后,我收到此错误:

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/nick/.Apps/opencv/modules/highgui/src/window.cpp, line 516
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/nick/.Apps/opencv/modules/highgui/src/window.cpp:516: 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 …
Run Code Online (Sandbox Code Playgroud)

c++ opencv makefile cmake

17
推荐指数
5
解决办法
5万
查看次数

在cv :: imshow()中获取错误-ASSERT:文件qasciikey.cpp中的“ false”,行501

每当我调用cv :: waitKey()时,我都会收到此错误:

ASSERT: "false" in file qasciikey.cpp, line 501
Run Code Online (Sandbox Code Playgroud)

我不确定为什么会收到此错误。我在Windows上通过MobaXterm连接的Ubuntu Server 14.04 EC2实例上运行。如果我在普通的ubuntu机器上运行所有相同的代码,则一切正常。

这是发生这种情况的行:

char key = cvWaitKey(33);
Run Code Online (Sandbox Code Playgroud)

c++ opencv imshow ubuntu-14.04

5
推荐指数
2
解决办法
3296
查看次数

标签 统计

c++ ×2

opencv ×2

cmake ×1

imshow ×1

makefile ×1

ubuntu-14.04 ×1