Version 2 of Building Tclkit with kitgen on Windows

Updated 2009-09-10 08:48:33 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.

[ Category Tclkit | Category Deployment ]