PDA

View Full Version : compile Qt failed!



yleesun
24th July 2009, 02:39
I compiled Qt 4.3.4 on windows,it stoped .
The error message is :

link /LIBPATH:"d:\3rd\QT4.3.4\lib" /LIBPATH:"d:\3rd\QT4.3.4\lib" /NOLOGO
/BASE:0x65000000 /DEBUG /DLL /VERSION:4.43 /OUT:..\..\lib\QtGuid4.dll @C:\DOCUM
E~1\ADMINI~1\LOCALS~1\Temp\nm102.tmp
LINK : fatal error LNK1000: 未知错误;请参考文档中的技术支持选项
NMAKE : fatal error U1077: “link” : 返回代码“0x3e8”
Stop.
NMAKE : fatal error U1077: “"D:\Program Files\msvc7.1\VC7\BIN\nmake.exe"” : 返
回代码“0x2”
Stop.
NMAKE : fatal error U1077: “cd” : 返回代码“0x2”
Stop.

nish
24th July 2009, 03:43
can you tell more about how u configued Qt... which command prompt you used... what env variables u set .... and lastly can u translate the chinese(japanese?korean?) error to english?

search here and there before posting
http://lists.trolltech.com/qt-interest/2004-03/thread00414-0.html

yleesun
24th July 2009, 04:12
thank you first!
I am chinese!I don't known how to translate the error code from chinese to english.
I just run configure in MSVC8 command promotion,then wait for about 30 minites.
It configure ok ,then I run nmake,it stopped at about one hour later .
The message is

Generating Code...
link /LIBPATH:"d:\3rd\Qt4.5.2\lib" /LIBPATH:"d:\3rd\Qt4.5.2\lib" /NOLOGO
/BASE:0x65000000 /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\QtGu
id.intermediate.manifest" /VERSION:4.52 /OUT:..\..\lib\QtGuid4.dll @C:\DOCUME~1\
ADMINI~1\LOCALS~1\Temp\nm294.tmp

it stopped here ,the link precess keep on increase.

nish
24th July 2009, 04:18
can you post the step by step procedure what u did.. let me begin it for you
1. unzipped the qt sources to C:\Qt\4.5.1
2. open ms visual studio command prompt
3. set QTDIR and QTDIR\bin
now tell the rest of story... the exact configure options... and btw try with a fresh source tree of qt

yleesun
24th July 2009, 04:27
then
1. run configure
2.run nmake

nish
24th July 2009, 04:47
looks like you need an expert here... i m outta it..