PDA

View Full Version : i always get an error when compiling Qt4.4.0



mismael85
5th July 2008, 13:00
hi,
i configured Qt4.4.0 with the following command:

configure -platform win32-msvc2005 -debug-and-release -fast -qt-sql-sqlite -no-qt3support -vcproj
and run the nmake
but after a while i get the following error:

..\JavaScriptCore\API\JSValueRef.cpp : fatal error C1033: cannot open program da
tabase 'c:\qt\4.4.0\src\3rdparty\webkit\webcore\vc80.pdb'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE"' : return code '0x2'
Stop.
what is going on? i configured the Qt with different commands more than five times
and each time i get the same error what is wrong?
thank you.

jpn
6th July 2008, 17:31
Just to be sure, is there enough free disk space..?

mismael85
6th July 2008, 22:55
there are 5 giga bytes disk spaces, is it enough?

mismael85
7th July 2008, 17:29
i reconfigured the Qt with the following command and i get the same error

configure –platform win32-msvc2005 –debug-and-release –fast –prefix c:\Qt\4.3.2

wysota
7th July 2008, 17:53
I suggest you start by disabling the webkit module. You might not have all the dependencies for it to be built.

mismael85
9th July 2008, 10:16
i disabled the webkit using the following command

configure -platform win32-msvc2005 -debug-and-release -fast -qt-sql-sqlite -no-qt3support -vcproj -no-webkit
but i also get the same error but in another library

tmp\moc\debug_shared\moc_qundostack_p.cpp : fatal error C1033: cannot open progr
am database 'c:\qt\4.4.0\src\gui\vc80.pdb'
moc_qundoview.cpp
tmp\moc\debug_shared\moc_qundoview.cpp : fatal error C1033: cannot open program
database 'c:\qt\4.4.0\src\gui\vc80.pdb'
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE"' : return code '0x2'
Stop.

wysota
9th July 2008, 12:43
It seems the problem is with your Visual Studio installation.

mismael85
9th July 2008, 12:49
ok i will try to install it (visual stdio) again

mismael85
12th July 2008, 22:09
hi, i installed a new windows xp ,installed visual studio 2005 and when i compiled the Qt i get the
same error .
can any body write the steps step by step.
but you should konw that i compiled 4.3.2 and i am using the same way with 4.4.0 but it does not work.

The Storm
21st July 2008, 14:08
Try removing the -fast option, and add the Qt bin directory to your PATH system variable.