• 4215阅读
  • 1回复

是不是要编译qtopia-opensource的话, 必须安装X window套件? [复制链接]

上一主题 下一主题
离线sunxq
 

只看楼主 倒序阅读 楼主  发表于: 2007-06-12
— 本帖被 XChinux 从 Qt Installing 移动到本区(2007-08-12) —
使用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重新编辑 ]
离线sunxq

只看该作者 1楼 发表于: 2007-06-13
没办法, 重新安装了带桌面环境的Fedora Core 4, 现在编译成功了.
快速回复
限100 字节
 
上一个 下一个