Version 3 of Building Tclkit with kitgen on Windows

Updated 2009-09-10 08:51:57 by APN

Needing the ability to build tclkits on Windows from CVS head on a semi-regular basis, I finally got around to trying Pat Thoyts' instructions from the starkit mailing list [L1 ] to build my own kit. Read that reference first.

There were a couple of things that caused me grief having to do with my environment (Visual Studio 6.0, XP). Hence this page - so others do not go through the same pain. The issues were:

  • Do not have spaces in any directory paths. nmake spits weird error messages with no hint as to the real problem. This was my mistake #1.
  • You need to install the Platform SDK - I used the 2003 SP1 version which I already had. This is required for theme support as Visual Studio 6.0 does not come with the required include files.
  • Do not run setenv.cmd from the Platform SDK. This was my mistake #2. Instead explicitly set INCLUDE env var from the command line as shown below.

Here are the explicit instructions. Note this builds Tclkit Lite as it uses Vlerq and not Mk.

svn checkout svn://svn.equi4.com/kitgen/trunk kitgen
cd kitgen
mkdir 8.6 8.x

This retrives the latest version of kitgen and creates directories for the Tcl-Tk sources. The 8.6 directory will contain the version-specific source, 8.x will contain the version-independent source. I believe the directory names do not matter.

cd 8.6
cvs -z9 -d:pserver:[email protected]:/cvsroot/tcl co tcl
cvs -z9 -d:pserver:[email protected]:/cvsroot/tktoolkit co tk
cd ..

checks oout the Tcl-Tk sources.


[ Category Tclkit | Category Deployment ]