Results 1 to 4 of 4

Thread: Problem with nmake

  1. #1
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Problem with nmake

    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?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem with nmake

    How have you installed Qt? From a binary installer? Where exactly did you invoke nmake (when the installation broke)?
    J-P Nurmi

  3. #3
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with nmake

    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

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem with nmake

    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?
    J-P Nurmi

Similar Threads

  1. nmake :-(
    By Shuchi Agrawal in forum Installation and Deployment
    Replies: 3
    Last Post: 21st February 2007, 10:56
  2. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  3. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.