Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl 8.5.8 fails to build with Microsoft VS 2010 C compiler

Closed / Duplicate3023664fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-07-01 06:11:39
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.
plain2010-07-01 13:11:39
File Added - 378908: tcl8.5.8-build.log
plain2010-07-01 13:27:43
Duplicate of ID #3019634
plain2010-07-01 13:28:01
allow_comments - 1
Log in (anonymous is fine) to add a comment.

Attachments: