Results 1 to 4 of 4

Thread: Cannot configure -platform win32-msvc2008, no nmake.exe

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot configure -platform win32-msvc2008, no nmake.exe

    Run vsvars.bat script (or whatever it's called) from the console to set up environment variables and try configuring Qt once more. That script should be in Visual Studio's bin directory.

  2. The following user says thank you to jacek for this useful post:

    Jason Hamilton (30th August 2008)

  3. #2
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cannot configure -platform win32-msvc2008, no nmake.exe

    I think we're headed in the right direction here, thanks. However, I now get a different error message when I run configure, although it seems to be eminating from cl.exe. The message reads:

    Qt Code:
    1. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -IC:\Libraries\Qt\include -IC:\Libraries\Qt\include\QtCore -IC:\Libraries\Qt\include -IC:\Libraries\Qt\include\QtCore -
    2. IC:\Libraries\Qt\src\corelib\global -IC:\Libraries\Qt\include\QtScript -IC:\Libraries\Qt\mkspecs\win32-msvc2008 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT
    3. _LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFI
    4. G_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT
    5. _NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED project.cpp
    6. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    7. \cl.EXE"' : return code '0xc0000135'
    8. Stop.
    9. Building qmake failed, return code 2
    To copy to clipboard, switch view to plain text mode 

    Sorry to be so needy, but this stuff was working a few days ago, then I had to re-install my compiler and now I can't make anything work again.

    Jason

  4. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cannot configure -platform win32-msvc2008, no nmake.exe

    You still not used the correct config.
    In your Start Menu Entry for MSVC 2008 you'll find something called 'MSVC 2008 Visual Studio Command Prompt' which sets all env vars correct. Compile Qt from this command prompt and all will work fine.

Similar Threads

  1. Crash handler on Win32
    By niko in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 19:41

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.