Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 84e8ad92984b9f1ba67d5403d3d85fbcbe57ccfc
Ticket: 3023664fffffffffffffffffffffffffffffffff
Tcl 8.5.8 fails to build with Microsoft VS 2010 C compiler
User & Date: anonymous on 2010-07-01 06:11:39
Changes

  1. assignee changed to: "stwo"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On Windows 7 x64, I tried to build Tcl 8.5.8
    
    To build it, I ran this script in a new command prompt:
    
    set CPU=AMD64
    set MSVCver=10.0
    call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /x64
    @title VS 2010 x64
    
    Then, I changed directories to C:\tcl8.5.8\win and executed "nmake -f makefile.vc".
    It complained, saying:
    
    
    C:\tcl8.5.8\win>nmake -f makefile.vc
    
    Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    makefile.vc(24) : 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.
    C:\tcl8.5.8\win>
    
    So, I ran vcvarsall.bat:
    
    C:\tcl8.5.8\win>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
    Setting environment for using Microsoft Visual Studio 2010 x86 tools.
    C:\tcl8.5.8\win>
    
    This changed nothing in the environment variables, and yet it fixed the problem with the
    compiler so that "name -f makefile.vc" worked about 1/8 of the way. When nmake failed,
    I got this compiler output: 
      <attached in tcl8.5.8-build.log>
    I expected the build process to finish.
    
    
  4. foundin changed to: "obsolete: 8.5.8"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to:
    Tcl 8.5.8 fails to build with Microsoft VS 2010 C compiler
    
  11. type changed to: "Bug"