PDA

View Full Version : Problem with nmake



Pragya
26th June 2007, 13:51
Hi all,
I am trying to build a program using nmake, previously I was able to do it using nmake but when I execute the nmake commmand in Qt installed directory, the problem started.
Though I am still able to comile and run the program using VS 2005 by adding
TEMPLATE = vcapp but not using the commmand prompt

C:\t1>qmake
C:\t1>nmake

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

"C:\Program Files\Microsoft Visual Studio 8\VC\bin\nmake.exe" -f Makefil
e.Debug

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

cl -c -nologo -Zm200 -GS -Od -Zi -Gm -MDd -W3 -GR -EHsc -DUNICODE -DQT_L
ARGEFILE_SUPPORT -DWIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"C:/Qt/4.2.2/include/Q
tCore" -I"C:/Qt/4.2.2/include/QtCore" -I"C:/Qt/4.2.2/include/QtGui" -I"C:/Qt/4.2
.2/include/QtGui" -I"C:/Qt/4.2.2/include" -I"C:/Qt/4.2.2/include/ActiveQt" -I"de
bug" -I"." -I"..\Qt\4.2.2\mkspecs\win32-msvc2005" -Fodebug\ @C:\DOCUME~1\e372540
\LOCALS~1\Temp\nm396E.tmp
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\c
l.EXE"' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\n
make.exe"' : return code '0x2'
Stop.


Does anyone face the similar problem?

jpn
26th June 2007, 17:37
How have you installed Qt? From a binary installer? Where exactly did you invoke nmake (when the installation broke)?

Pragya
27th June 2007, 06:43
Yes I have installed Qt from binary and it was installed properly but when I accidently executed nmake command from the installed directory, the problem started.
C:\Qt\4.2.2>nmake

jpn
27th June 2007, 17:39
Did you run configure.exe too? I don't think the binary installation has a makefile in the installation root at all. Maybe it would be easiest to simply reinstall, and why not update too while installing anyway? ;)