• 6381阅读
  • 3回复

qt-embedded-linux-opensource-4.5.0 for x86 编译出错 [复制链接]

上一主题 下一主题
离线feteyuyu
 
只看楼主 倒序阅读 楼主  发表于: 2009-06-25
我是新手。在编译qt的时候出错,信息如下:
In file included from text/qfontengine_ft.cpp:46:
text/qfontengine_ft_p.h:82: warning: `struct QFreetypeFace' only defines a
   private destructor and has no friends
text/qfontengine_ft.cpp: In function `HB_Error hb_getSFntTable(void*, unsigned
   int, HB_Byte*, HB_UInt*)':
text/qfontengine_ft.cpp:104: warning: unused parameter `void*font'
text/qfontengine_ft.cpp:104: warning: unused parameter `HB_Tag tableTag'
text/qfontengine_ft.cpp:104: warning: unused parameter `HB_Byte*buffer'
text/qfontengine_ft.cpp:104: warning: unused parameter `HB_UInt*length'
text/qfontengine_ft.cpp: In member function `bool
   QFreetypeFace::getSfntTable(unsigned int, uchar*, uint*) const':
text/qfontengine_ft.cpp:391: warning: unused parameter `uint tag'
text/qfontengine_ft.cpp:391: warning: unused parameter `uchar*buffer'
text/qfontengine_ft.cpp:391: warning: unused parameter `uint*length'
text/qfontengine_ft.cpp: In member function `bool
   QFontEngineFT::init(QFontEngine::FaceId, bool, QFontEngineFT::GlyphFormat)':
text/qfontengine_ft.cpp:708: `FT_Select_Size' undeclared (first use this
   function)
text/qfontengine_ft.cpp:708: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[1]: *** [.obj/release-shared-emb-x86/qfontengine_ft.o] Error 1
make[1]: Leaving directory `/root/src/qt-embedded-linux-opensource-src-4.5.0-x86/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2
怎么解决这个问题啊?我使用gcc3.4.1。谢谢!
离线刘作新
只看该作者 1楼 发表于: 2009-06-26
是你的gcc不行!装个gcc 4!
离线hxh4500
只看该作者 2楼 发表于: 2009-10-24
我也遇到了同样的问题,我的gcc是4.1.0的,怎么也不行呢!帮帮忙
离线jilong17
只看该作者 3楼 发表于: 2009-12-17
我的 gcc 是 4.3.3 的还是不行 错误时一样的
快速回复
限100 字节
 
上一个 下一个