移植qtopia2.2.0时,出现错误如下错误:
移植qtopia2.2.0时,出现错误如下错误:In file included from qanimationwriter.cpp:23:/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/png.h:295:18: error: zlib.h: No such file or directory
In file included from qanimationwriter.h:22,
from qanimationwriter.cpp:21:
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/include/qimage.h: In member function ‘int QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/include/qimage.h:58: warning: suggest parentheses around ‘&&’ within ‘||’
In file included from /usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/png.h:298,
from qanimationwriter.cpp:23:
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/pngconf.h: At global scope:
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/pngconf.h:1021: error: expected initializer before ‘*’ token
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/pngconf.h:1022: error: expected initializer before ‘*’ token
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/pngconf.h:1023: error: expected initializer before ‘*’ token
In file included from qanimationwriter.cpp:23:
/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/src/3rd**/libpng/png.h:976: error: ‘z_stream’ does not name a type
qanimationwriter.cpp: In member function ‘void QAnimationWriter::appendFrame(const QImage&, const QPoint&)’:
qanimationwriter.cpp:379: warning: suggest parentheses around ‘&&’ within ‘||’
make: *** Error 1
make: Leaving directory `/usr/local/arm/yizhi/qtopia-free-2.2.0/qt2/tools/qvfb'
请问该如何解决???
页:
[1]