Installing (Windows)

September 1, 2022 ยท View on GitHub

1. Install Dependencies

All dependencies must use their 32-bit (x86) installers

2: Edit Paths

Make sure paths to all installations are correct in your environment.

In start_msvc_shell.bat, edit variables:

  • vcbuildtools
    • Path to the vcbuildtools.bat script located in the MS Visual C++ Build Tools installation

In Makefile, edit variables:

  • TCL_PATH
    • Path to root of Tcl installation
  • PYTHON3_PATH
    • Path to root of Python 3.x.x installation
  • INSTALL_DIR
    • Destination of the tclpython Tcl package
    • Either pick one that looks right from the output of the following Tcl command: foreach p $auto_path {puts $p}
    • ... or create a new location, and add it to the TCLLIBPATH environment variable.

3. Compile

Double-click start_msvc_shell.bat to open the compiler command shell.

nmake
nmake test
nmake install