主题 : 编译Qtopia4.4.3 完全按照手册来的 出现以下错误 急!!!求解决 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 75224
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2012-08-04
最后登录: 2012-08-31
楼主  发表于: 2012-08-07 10:15

 编译Qtopia4.4.3 完全按照手册来的 出现以下错误 急!!!求解决

/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp: In function 'void setup_qt(QImage&, png_struct*, png_info*, float)':
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:271: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:313: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:321: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:334: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:337: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:339: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:340: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:341: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:342: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:348: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:350: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:351: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:352: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp: In member function 'bool QPNGImageWriter::writeImage(const QImage&, int, const QString&, int, int)':
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:795: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:810: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:811: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:812: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:828: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:829: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:830: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:846: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp: In member function 'virtual QVariant QPngHandler::option(QImageIOHandler::ImageOption) const':
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:1011: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
/opt/6410/qt-extended-4.4.3/qtopiacore/qt/src/gui/image/qpnghandler.cpp:1011: error: invalid use of undefined type 'struct png_info_def'
/usr/include/png.h:666: error: forward declaration of 'struct png_info_def'
gmake[2]: *** [.obj/release-shared/qpnghandler.o] Error 1
gmake[1]: *** [sub-gui-make_default-ordered] Error 2
Use of uninitialized value in scalar assignment at /opt/6410/qt-extended-4.4.3/src/build/bin/configure line 1786.
There was an error building Qt. configure cannot continue.
If your system's package manager does not provide Qt 4 development libraries
please see the Guide to Configuring and Building Qt Extended for information
on how to build Qt from the included source.
gmake: *** [src/build/mkconf/configure] Error 2
级别: 新手上路
UID: 75224
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2012-08-04
最后登录: 2012-08-31
1楼  发表于: 2012-08-08 13:33
版主在吗 给个指导