Thread: nmake won't work in vs2008

  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, 10: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, 10: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, 04:36 PM