• 6277阅读
  • 1回复

编译错误,请各位帮忙解决一下! [复制链接]

上一主题 下一主题
离线yingaikeke
 
只看楼主 倒序阅读 楼主  发表于: 2010-04-21

or D:/Qt/2010.02.1/qtL

Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    build_all
    debug
Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    s60
    ipv6
    script
    scripttools
    xmlpatterns
    multimedia
    audio-backend
    webkit
    native-gestures
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

QMAKESPEC...................win32-msvc2008 (commandline)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............no
QtMultimedia support........yes
WebKit support..............yes
Declarative support.........no
QtScript support............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes

Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin
    FreeType support........no

Styles:
    Windows.................yes
    Windows XP..............no
    Windows Vista...........no
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no
    S60.....................no

Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

Sources are in..............D:\Qt\2010.02.1\qt
Build is done in............D:\Qt\2010.02.1\qt
Install prefix..............D:\Qt\2010.02.1\qt
Headers installed to........D:\Qt\2010.02.1\qt\include
Libraries installed to......D:\Qt\2010.02.1\qt\lib
Plugins installed to........D:\Qt\2010.02.1\qt\plugins
Binaries installed to.......D:\Qt\2010.02.1\qt\bin
Docs installed to...........D:\Qt\2010.02.1\qt\doc
Data installed to...........D:\Qt\2010.02.1\qt
Translations installed to...D:\Qt\2010.02.1\qt\translations
Examples installed to.......D:\Qt\2010.02.1\qt\examples
Demos installed to..........D:\Qt\2010.02.1\qt\demos

Symbian DEF files enabled...yes
Creating qmake...

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators -Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -Igenerators\symbian  -ID:\Qt\2010.02.1\qt
\include -ID:\Qt\2010.02.1\qt\include\QtCore  -ID:\Qt\2010.02.1\qt\include -ID:\
Qt\2010.02.1\qt\include\QtCore  -ID:\Qt\2010.02.1\qt\src\corelib\global  -ID:\Qt
\2010.02.1\qt\src\corelib\xml  -ID:\Qt\2010.02.1\qt\mkspecs\win32-msvc2008   -DQ
T_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL
-DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD
-DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTST
RAPPED   -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
project.cpp(62) : fatal error C1083: Cannot open include file: 'windows.h': No s
uch file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

        del qbitarray.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qbitarray.obj
        del qbuffer.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qbuffer.obj
        del qcryptographichash.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qcryptographichash.obj
        del qlinkedlist.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qlinkedlist.obj
        del qfsfileengine.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qfsfileengine.obj
        del qfsfileengine_iterator.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qfsfileengine_iterator.obj
        del qbytearray.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qbytearray.obj
        del qvsnprintf.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qvsnprintf.obj
        del qbytearraymatcher.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qbytearraymatcher.obj
        del qdatetime.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qdatetime.obj
        del qdir.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qdir.obj
        del qdiriterator.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qdiriterator.obj
        del qfile.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qfile.obj
        del qtemporaryfile.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qtemporaryfile.obj
        del qabstractfileengine.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qabstractfileengine.obj
        del qfsfileengine_win.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qfsfileengine_win.obj
        del qfsfileengine_iterator_win.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qfsfileengine_iterator_win.obj
        del qfileinfo.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qfileinfo.obj
        del qglobal.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qglobal.obj
        del qhash.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qhash.obj
        del qiodevice.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qiodevice.obj
        del qlist.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qlist.obj
        del qlocale.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qlocale.obj
        del qmalloc.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qmalloc.obj
        del qmap.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qmap.obj
        del qregexp.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qregexp.obj
        del qtextcodec.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qtextcodec.obj
        del qutfcodec.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qutfcodec.obj
        del qstring.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qstring.obj
        del qstringlist.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qstringlist.obj
        del qtextstream.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qtextstream.obj
        del qdatastream.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qdatastream.obj
        del quuid.obj
找不到 D:\Qt\2010.02.1\qt\qmake\quuid.obj
        del qvector.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qvector.obj
        del qsettings.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qsettings.obj
        del qlibraryinfo.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qlibraryinfo.obj
        del qvariant.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qvariant.obj
        del qurl.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qurl.obj
        del qsettings_win.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qsettings_win.obj
        del qmetatype.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qmetatype.obj
        del project.obj
找不到 D:\Qt\2010.02.1\qt\qmake\project.obj
        del main.obj
找不到 D:\Qt\2010.02.1\qt\qmake\main.obj
        del makefile.obj
找不到 D:\Qt\2010.02.1\qt\qmake\makefile.obj
        del unixmake.obj
找不到 D:\Qt\2010.02.1\qt\qmake\unixmake.obj
        del unixmake2.obj
找不到 D:\Qt\2010.02.1\qt\qmake\unixmake2.obj
        del mingw_make.obj
找不到 D:\Qt\2010.02.1\qt\qmake\mingw_make.obj
        del option.obj
找不到 D:\Qt\2010.02.1\qt\qmake\option.obj
        del winmakefile.obj
找不到 D:\Qt\2010.02.1\qt\qmake\winmakefile.obj
        del projectgenerator.obj
找不到 D:\Qt\2010.02.1\qt\qmake\projectgenerator.obj
        del property.obj
找不到 D:\Qt\2010.02.1\qt\qmake\property.obj
        del meta.obj
找不到 D:\Qt\2010.02.1\qt\qmake\meta.obj
        del makefiledeps.obj
找不到 D:\Qt\2010.02.1\qt\qmake\makefiledeps.obj
        del metamakefile.obj
找不到 D:\Qt\2010.02.1\qt\qmake\metamakefile.obj
        del xmloutput.obj
找不到 D:\Qt\2010.02.1\qt\qmake\xmloutput.obj
        del borland_bmake.obj
找不到 D:\Qt\2010.02.1\qt\qmake\borland_bmake.obj
        del msvc_nmake.obj
找不到 D:\Qt\2010.02.1\qt\qmake\msvc_nmake.obj
        del msvc_dsp.obj
找不到 D:\Qt\2010.02.1\qt\qmake\msvc_dsp.obj
        del msvc_vcproj.obj
找不到 D:\Qt\2010.02.1\qt\qmake\msvc_vcproj.obj
        del msvc_objectmodel.obj
找不到 D:\Qt\2010.02.1\qt\qmake\msvc_objectmodel.obj
        del symmake.obj
找不到 D:\Qt\2010.02.1\qt\qmake\symmake.obj
        del symmake_abld.obj
找不到 D:\Qt\2010.02.1\qt\qmake\symmake_abld.obj
        del symmake_sbsv2.obj
找不到 D:\Qt\2010.02.1\qt\qmake\symmake_sbsv2.obj
        del initprojectdeploy_symbian.obj
找不到 D:\Qt\2010.02.1\qt\qmake\initprojectdeploy_symbian.obj
        del pbuilder_pbx.obj
找不到 D:\Qt\2010.02.1\qt\qmake\pbuilder_pbx.obj
        del qxmlstream.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qxmlstream.obj
        del qxmlutils.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qxmlutils.obj
        del qnumeric.obj
找不到 D:\Qt\2010.02.1\qt\qmake\qnumeric.obj
        del vc60.pdb
找不到 D:\Qt\2010.02.1\qt\qmake\vc60.pdb
        del vc70.pdb
找不到 D:\Qt\2010.02.1\qt\qmake\vc70.pdb
        del qmake.pdb
找不到 D:\Qt\2010.02.1\qt\qmake\qmake.pdb
        del qmake.ilk
找不到 D:\Qt\2010.02.1\qt\qmake\qmake.ilk
        del qmake.tds
找不到 D:\Qt\2010.02.1\qt\qmake\qmake.tds

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators -Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -Igenerators\symbian  -ID:\Qt\2010.02.1\qt
\include -ID:\Qt\2010.02.1\qt\include\QtCore  -ID:\Qt\2010.02.1\qt\include -ID:\
Qt\2010.02.1\qt\include\QtCore  -ID:\Qt\2010.02.1\qt\src\corelib\global  -ID:\Qt
\2010.02.1\qt\src\corelib\xml  -ID:\Qt\2010.02.1\qt\mkspecs\win32-msvc2008   -DQ
T_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL
-DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD
-DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTST
RAPPED   -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
project.cpp(62) : fatal error C1083: Cannot open include file: 'windows.h': No s
uch file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
Building qmake failed, return code 2


D:\Qt\2010.02.1\qt>
离线dbzhang800

只看该作者 1楼 发表于: 2010-04-21
下载 sdk2010.02.1 就用mingw好了

如果要用VS2008,为何不直接下载Qt for VS2008?
快速回复
限100 字节
 
上一个 下一个