PDA

View Full Version : compile error. with vs2003 and vista.



yangyunzhao
6th August 2009, 15:10
First of all, sorry for my poor english.

QT:4.5.2
OS:Vista HP zh-cn chinese
platform:Visual Studio 2003 zh-cn

I work as follow,but some errors happend.

1.I download source files "qt-win-opensource-src-4.5.2.zip".

2.Uncompress the files into the C:\Qt\4.5.2 directory.

3.set PATH = c:\Qt\4.5.2\bin

4. execute "configure -platform win32-msvc2003 -debug-and-release" in the command line

5.execute "nmake" in the command line

After a long time, some errors happend.Information as:

I just follow the "INSTALL" file.Why happens this error?

Could you tell me how to resolve this problem?Thanks a lot!!



link /LIBPATH:"c:\qt\4.5.2\lib" /LIBPATH:"c:\qt\4.5.2\lib" /NOLOGO /INCR
EMENTAL:NO /SUBSYSTEM:WINDOWS /OUT:..\..\..\..\bin\assistant.exe @C:\Users\asat\AppData\Local\Temp\nm1411.tmp

LINK : fatal error LNK1000: Internal error during BuildImage

Version 7.10.3077

ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 771E66AB (77180000) "C:\Windows\system32\ntdll.dll"

NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 4046AEBF

CONTEXT:
Eax = 4046AEB8 Esp = 0012F2E4
Ebx = 4046AEC0 Ebp = 0012F2F0
Ecx = 771C0A64 Esi = 02050000
Edx = 4046AEC0 Edi = 00000000
Eip = 771E66AB EFlags = 00010246
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 0000003B SegGs = 00000000
Dr0 = 0012F2E4 Dr3 = 4046AEC0
Dr1 = 0012F2F0 Dr6 = 771C0A64
Dr2 = 00000000 Dr7 = 00000000
NMAKE : fatal error U1077: “link” : 返回代码“0x3e8”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files\Microsoft Visual Studio .NET 2003
\VC7\BIN\nmake.exe"” : 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd” : 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd” : 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd” : 返回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd” : 返回代码“0x2”
Stop.

Pto
19th August 2009, 13:55
Hi - did you compile Qt from the Visual Studio command prompt?