• 5396阅读
  • 2回复

Qt调试的问题 [复制链接]

上一主题 下一主题
离线shifan
 
只看楼主 倒序阅读 楼主  发表于: 2010-04-19
我的程序运行时意外退出,有如下输出:
Starting /home/shifan/buffer/rect_round/rect_round/rect_round...

The program has unexpectedly finished.

/home/shifan/buffer/rect_round/rect_round/rect_round exited with code 0

调试时指向这一句:
(*bits_mask)[y].setBit(x); //没有越界的问题,我真不知道错在哪儿了

然后调试有输出如下:
difference appears to be caused by prelink, adjusting expectations
.dynamic section for "/usr/lib/libpangocairo-1.0.so.0" is not at the expected address
difference appears to be caused by prelink, adjusting expectations
.dynamic section for "/usr/lib/libXcomposite.so.1" is not at the expected address
difference appears to be caused by prelink, adjusting expectations
.dynamic section for "/usr/lib/libXdamage.so.1" is not at the expected address
difference appears to be caused by prelink, adjusting expectations
.dynamic section for "/usr/lib/libfam.so.0" is not at the expected address
difference appears to be caused by prelink, adjusting expectations

我的问题是这些调试输出是什么意思?找不到动态链接库?应该怎样解决?
使用Qt Creator1.2.1 Based on Qt 4.5.2(32bits)
运行平台2.6.32.11-99.fc12.i686.PAE
离线benbenmajia

只看该作者 1楼 发表于: 2010-04-20
是没有找到动态库,不是报错说路径错误吗?
安然.....
离线shifan
只看该作者 2楼 发表于: 2010-04-20
但是我通过命令
ls /usr/lib/|grep libXdamage
ls /usr/lib/|grep libfam
ls /usr/lib/|grep libXcomposite
得到的输出如下:
libXdamage.so
libXdamage.so.1
libXdamage.so.1.1.0
libfam.so
libfam.so.0
libfam.so.0.0.0
libXcomposite.so
libXcomposite.so.1
libXcomposite.so.1.0.0
可见并不缺动态链接库啊。。。
快速回复
限100 字节
 
上一个 下一个