hsy75的个人空间 https://blog.eetop.cn/vivilife [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

[o]QT的目标板ARM嵌入式编译问题 002

已有 1443 次阅读| 2013-2-21 14:30 |个人分类:linux

1 实践问题描述和解决步骤:

1.1 编译QT的时候,需要链接directfb的库,我的directfb的库已经编译了,可还是报错

gmake[3]: Leaving directory `/home/wine/root/target/output/objs/gcc-4.5.2_glibc-linux-debug/comps/generic_apps/qt/qt-everywhere-opensource-src-4.7.2/qmake'
The DirectFB screen driver functionality test failed!
 You might need to modify the include and library search paths by editing
 QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB in

 /home/wine/root/target/output/objs/gcc-4.5.2_glibc-linux-debug/comps/generic_apps/qt/qt-everywhere-opensource-src-4.7.2/mkspecs/qws/linux-arm-g++.
gmake[2]: *** [/home/wine/root/target/output/objs/gcc-4.5.2_glibc-linux-debug/comps/generic_apps/qt/qt-everywhere-opensource-src-4.7.2/Makefile] Error 1
gmake[2]: Leaving directory `/home/wine//root/target/src/sd/apps/huangpu/comps/huangpu_ui'
gmake[1]: *** [qt] Error 2
gmake[1]: Leaving directory `/home/wine/root/target/build/systems/linux/huangpu'
make: *** [application_test] Error 2

1.2 更改configure的参数,增加 -v,


2 一些非常有用的调试技巧:

2.1 -v or -verbose:

qt 的解压包,用qt 4.7.2 为例:qt-everywhere-opensource-src-4.7.2 解压后,里面有configure 文件

这个文件就是用来做qt的配置用的,同时qt 编译前,可以用这个命令来检查各个依赖库的相关性,但是,有时候qt configure报错后,

给我们的信息太少,这时候就要在 configure 的参数后面加

-v 或者写成 -verbose 来看看到底qt 是在配置什么东西的时候报错,从而可以知道我们的详细信息:


类似的错误:但不同的问题:

 

 


to be continued

此帖原创:made by . huang.makin@gmail.com

 


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 2

    粉丝
  • 1

    好友
  • 2

    获赞
  • 14

    评论
  • 3241

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-3-29 01:59 , Processed in 0.012955 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部