Building the RenderingTk Module on Windows

I couldn’t find my old build folder for Tcl/Tk (must have deleted it), but a brief reconstruction of how I did the build is roughly as follows:

  1. start a cmd shell
  2. run “vcarsall.bat x64” to set up the VS2017 command-line environment
  3. cd into the tcl8.6.x/win directory
  4. run “nmake -f makefile.vc release”
  5. run “nmake -f makefile.vc install INSTALLDIR=F:\Programs\Tcl86”
  6. do the same for tk8.6.x

The flags were the default release flags in the makefile: -O2 -GS -GL.
The installdir “F:\Programs\Tcl86” was just my preference.