免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5318 | 回复: 3
打印 上一主题 下一主题

QT程序编译问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-05-11 11:32 |只看该作者 |倒序浏览
我用的是fedora11,现在用一个程序是opencv2.0+qtcreator4.5.3环境的,编译通过了,可以运行了,但是用摄像头的功能时会出现一下错误。
     请问如何解决?
  1. OpenCV Error: Bad argument (Bad image header) in cvCloneImage, file cxcore/cxarray.cpp, line 3085
  2. Qt has caught an exception thrown from an event handler. Throwing
  3. exceptions from an event handler is not supported in Qt. You must
  4. reimplement QApplication::notify() and catch all exceptions there.

  5. terminate called after throwing an instance of '
  6. cv::Exception'

  7. warning:
  8. .dynamic section for "/lib/libgobject-2.0.so.0" is not at the expected address

  9. warning:
  10. difference appears to be caused by prelink, adjusting expectations

  11. warning:
  12. .dynamic section for "/usr/lib/libXrender.so.1" is not at the expected address

  13. warning:
  14. difference appears to be caused by prelink, adjusting expectations

  15. warning:
  16. .dynamic section for "/usr/lib/libfontconfig.so.1" is not at the expected address

  17. warning:
  18. difference appears to be caused by prelink, adjusting expectations

  19. warning: .dynamic section for "/usr/lib/libX11.so.6" is not at the expected address

  20. warning: difference appears to be caused by prelink, adjusting expectations

  21. warning: .dynamic section for "/lib/libz.so.1" is not at the expected address

  22. warning: difference appears to be caused by prelink, adjusting expectations

  23. warning: .dynamic section for "/lib/libgthread-2.0.so.0" is not at the expected address

  24. warning: difference appears to be caused by prelink, adjusting expectations

  25. warning: .dynamic section for "/lib/libdl.so.2" is not at the expected address

  26. warning: difference appears to be caused by prelink, adjusting expectations

  27. warning: .dynamic section for "/usr/lib/libgomp.so.1" is not at the expected address

  28. warning: difference appears to be caused by prelink, adjusting expectations

  29. warning: .dynamic section for "/usr/lib/libatk-1.0.so.0" is not at the expected address

  30. warning: difference appears to be caused by prelink, adjusting expectations

  31. warning: .dynamic section for "/usr/lib/libpangoft2-1.0.so.0" is not at the expected address

  32. warning: difference appears to be caused by prelink, adjusting expectations

  33. warning: .dynamic section for "/usr/lib/libpangocairo-1.0.so.0" is not at the expected address

  34. warning: difference appears to be caused by prelink, adjusting expectations

  35. warning: .dynamic section for "/lib/libgmodule-2.0.so.0" is not at the expected address

  36. warning: difference appears to be caused by prelink, adjusting expectations

  37. warning: .dynamic section for "/lib/libuuid.so.1" is not at the expected address

  38. warning: difference appears to be caused by prelink, adjusting expectations

  39. warning: .dynamic section for "/usr/lib/libXfixes.so.3" is not at the expected address

  40. warning: difference appears to be caused by prelink, adjusting expectations

  41. warning: .dynamic section for "/usr/lib/libXinerama.so.1" is not at the expected address

  42. warning: difference appears to be caused by prelink, adjusting expectations

  43. warning: .dynamic section for "/usr/lib/libXi.so.6" is not at the expected address

  44. warning: difference appears to be caused by prelink, adjusting expectations

  45. warning: .dynamic section for "/usr/lib/libXrandr.so.2" is not at the expected address

  46. warning: difference appears to be caused by prelink, adjusting expectations

  47. warning: .dynamic section for "/usr/lib/libXcursor.so.1" is not at the expected address

  48. warning: difference appears to be caused by prelink, adjusting expectations

  49. warning: .dynamic section for "/usr/lib/libXcomposite.so.1" is not at the expected address

  50. warning: difference appears to be caused by prelink, adjusting expectations

  51. warning: .dynamic section for "/usr/lib/libXdamage.so.1" is not at the expected address

  52. warning: difference appears to be caused by prelink, adjusting expectations

  53. warning: .dynamic section for "/lib/libcap.so.2" is not at the expected address

  54. warning: difference appears to be caused by prelink, adjusting expectations

  55. warning: .dynamic section for "/usr/lib/libcanberra-gtk.so.0" is not at the expected address

  56. warning: difference appears to be caused by prelink, adjusting expectations

  57. warning: .dynamic section for "/usr/lib/libvorbisfile.so.3" is not at the expected address

  58. warning: difference appears to be caused by prelink, adjusting expectations

  59. warning: .dynamic section for "/usr/lib/libogg.so.0" is not at the expected address

  60. warning: difference appears to be caused by prelink, adjusting expectations
复制代码

论坛徽章:
0
2 [报告]
发表于 2011-05-11 11:58 |只看该作者
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!!!

论坛徽章:
0
3 [报告]
发表于 2011-05-11 15:16 |只看该作者
回复 2# rlingxing


    ok,i got it

论坛徽章:
0
4 [报告]
发表于 2011-05-11 22:28 |只看该作者
好像是环境的问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP