• 6062阅读
  • 4回复

求助,安装QT的时候出现错误 [复制链接]

上一主题 下一主题
离线zhanlan53
 

只看楼主 倒序阅读 楼主  发表于: 2009-12-15
— 本帖被 XChinux 执行加亮操作(2010-10-21) —
     cd boxes\ && NMAKE -f Makefile

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        NMAKE -f Makefile.Debug all

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c -nologo -Zm200 /Zm1200 -Zi -MDd -GR -GX -W3 -DUNICODE -DQT_LARGEFI
LE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPO
RT -I"..\..\include\QtCore" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL" -
I"..\..\include" -I"." -I"..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..
\..\mkspecs\win32-msvc" -Fotmp\obj\debug_shared\ @C:\DOCUME~1\ADMINI~1\LOCALS~1\
Temp\nma04016.
Command line warning D4025 : overriding '/Zm200' with '/Zm1200'
glbuffers.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
glshaders.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
main.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
qtbox.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
roundedbox.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
scene.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
trackball.cpp
.\vector.h(356) : error C2233: '<Unknown>' : arrays of objects containing zero-s
ize arrays are illegal
        .\vector.h(357) : see reference to class template instantiation 'gfx::Ma
trix<T,rows,cols>' being compiled
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio\VC98\Bin\N
MAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

D:\Qt\2009.03\qt>
------------------------------
nmake的时候出现这个错误,不知道是什么原因,各位老大,帮帮忙哦·已经调了两天了这个环境都没搭起。
离线zhanlan53

只看该作者 1楼 发表于: 2009-12-15
在windows环境下生成vc6.0的文件·
用的版本是qt-sdk-win-opensource-2009.03
离线dbzhang800

只看该作者 2楼 发表于: 2009-12-15
1. 你装的是 sdk,带mingw编译环境,不需要 VC环境

2. 如果你用VC的话,换Visual2005或2008
离线zhanlan53

只看该作者 3楼 发表于: 2009-12-15
楼上高手,能不能请教一下,这个问题要怎么解决,难道重新安装吗?我是按照我们老师的方法做的,这个环境是为了能和他一样,您知道怎么解决吗?
离线gamecrashdbg
只看该作者 4楼 发表于: 2010-09-25
我刚遇到同样的问题,用的是VS2005,Qt版本是4.5.3。
请问怎么解决啊?
快速回复
限100 字节
 
上一个 下一个