nmake won't work in vs2008

This is a discussion on nmake won't work in vs2008 within the Windows Programming forums, part of the Platform Specific Boards category; Can somebody help me with this problem? C:\Python25\source\tcl8.4.12\win>nmake -f makefile.vc Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft ...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    6

    nmake won't work in vs2008

    Can somebody help me with this problem?

    C:\Python25\source\tcl8.4.12\win>nmake -f makefile.vc

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

    makefile.vc(22) : fatal error U1050:
    You need to run vcvars32.bat from Developer Studio or setenv.bat from the
    Platform SDK first to setup the environment. Jump to this line to read
    the build instructions.
    Stop.

    --
    yes, i'm running the command prompt from vs -> tools -> Visual Studio 2008 Command Prompt.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Perhaps you can find which part of the makefile produces that output, and check what environment variable it is looking for, and then set that environment variable to something sensible.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    6
    Thanks, I had somehow assumed that error was being generated by nmake.exe. d'oh!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. getline() don't want to work anymore...
    By mikahell in forum C++ Programming
    Replies: 7
    Last Post: 07-31-2006, 11:50 AM
  2. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 11:39 PM
  3. makefile exported by vc 6.0 doesn't work
    By wow in forum Windows Programming
    Replies: 7
    Last Post: 03-24-2006, 04:20 PM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. DLL __cdecl doesnt seem to work?
    By Xei in forum C++ Programming
    Replies: 6
    Last Post: 08-21-2002, 05:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21