QT程序编译问题
我用的是fedora11,现在用一个程序是opencv2.0+qtcreator4.5.3环境的,编译通过了,可以运行了,但是用摄像头的功能时会出现一下错误。
请问如何解决?
- OpenCV Error: Bad argument (Bad image header) in cvCloneImage, file cxcore/cxarray.cpp, line 3085
- Qt has caught an exception thrown from an event handler. Throwing
- exceptions from an event handler is not supported in Qt. You must
- reimplement QApplication::notify() and catch all exceptions there.
- terminate called after throwing an instance of '
- cv::Exception'
- warning:
- .dynamic section for "/lib/libgobject-2.0.so.0" is not at the expected address
- warning:
- difference appears to be caused by prelink, adjusting expectations
- warning:
- .dynamic section for "/usr/lib/libXrender.so.1" is not at the expected address
- warning:
- difference appears to be caused by prelink, adjusting expectations
- warning:
- .dynamic section for "/usr/lib/libfontconfig.so.1" is not at the expected address
- warning:
- difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libX11.so.6" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/lib/libz.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/lib/libgthread-2.0.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/lib/libdl.so.2" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libgomp.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libatk-1.0.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libpangoft2-1.0.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libpangocairo-1.0.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/lib/libgmodule-2.0.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/lib/libuuid.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXfixes.so.3" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXinerama.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXi.so.6" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXrandr.so.2" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXcursor.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXcomposite.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libXdamage.so.1" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/lib/libcap.so.2" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libcanberra-gtk.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libvorbisfile.so.3" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
- warning: .dynamic section for "/usr/lib/libogg.so.0" is not at the expected address
- warning: difference appears to be caused by prelink, adjusting expectations
复制代码
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
OpenCV Error: Bad argument (Bad image header) in cvCloneImage, file cxcore/cxarray.cpp, line 3085
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
has this answer!!!, and check your lib!!!
回复 2# rlingxing
ok,i got it
好像是环境的问题?