天嵌 ARM开发社区

 找回密码
 注册
查看: 1492|回复: 3

Qte在PC下编译不成功

[复制链接]
zhonghua8410 发表于 2010-5-8 17:19:46 | 显示全部楼层 |阅读模式
我的PC环境redhat9.0,选择的是完全安装,下载的Qte的源码为Qte_20091216,可是编译的好几次都不成功啊!错误信息如下在:
./usr/bin/ld: cannot find -lqte
collect2:ld returned 1 exit status
make[5]:***[../../../lib/libqpe.so.1.5.3]Error 1
make[5]:Leaving directory 'opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: ***[all] Error 2
make[4]:Leaving directory 'opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: ***[sub-libraries-qtopia] Error 2
make[3]:Leaving directory 'opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: ***[install] Error 2
make[2]:Leaving directory 'opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: ***[install] Error 2
make[1]:Leaving directory 'opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
  done!
cp: cannot create regular file 'qtopia/image/opt/Qtopia/lib/fonts/unifont_160_50.qpf':No such file or directory

我已经弄了几天了啊,可是就是编译不成功,希望能够得到版主的指导!
亚瑟王 发表于 2010-5-8 17:54:24 | 显示全部楼层
./usr/bin/ld: cannot find -lqte
这句话是最关键的错误信息,也就是qte这个库没有编译成功,这个库的编译在前面的,你需要输入:cd /'opt/EmbedSky/Qte/x86-qtopia-2.2.0/,然后执行make >> abc.txt,然后检查终端上面出现的信息。
 楼主| zhonghua8410 发表于 2010-5-8 20:05:00 | 显示全部楼层
问题解决了啊,在亚瑟王的帮助下,在x86-qtopia-2.2.0目录下重新编译了x86-qtopia-2.2.0_build中的配置文件,最后“./x86-qtopia-2.2.0_build",令人惊喜的一幕发生了,我的Qt居然编译成功了。感谢亚瑟王的耐心指导。在此分享解决方法,希望对遇到类似问题的人有所帮助。
亚瑟王 发表于 2010-5-10 20:34:53 | 显示全部楼层
晕死,还是不知道怎么解决的啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-6 10:29 , Processed in 1.015560 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表