使用vmware, 机器配置又不够高, 没有装X, 结果无论是qtopia-free-src-2.2.0还是qtopia-opensource-4.2.2, 都编译不过去.
g++ -c -pipe -fno-exceptions -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQTOPIA_NO_ICONV_OPEN_ERRORS -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_SSE -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/mkspecs/linux-g++ -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/gui -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include -I../../include/QtGui -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/libpng -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/zlib -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/freetype/src -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/freetype/include -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/freetype/builds/unix -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -I. -o .obj/release-shared/qapplication.o /home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qapplication.cpp
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from /home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qapplication.cpp:55:
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:50:22: error: X11/Xlib.h: No such file or directory
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:55:23: error: X11/Xutil.h: No such file or directory
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:56:21: error: X11/Xos.h: No such file or directory
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:63:23: error: X11/Xatom.h: No such file or directory
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:248: error: 鈥楥olormap鈥?does not name a type
[ 此贴被XChinux在2007-08-12 23:00重新编辑 ]