Installing (Windows)
September 1, 2022 ยท View on GitHub
1. Install Dependencies
All dependencies must use their 32-bit (x86) installers
- MS Visual C++ Build Tools
- ActiveState Tcl
- Python
- Be sure to customize the installation and check: "Add Python to environment variables"
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.batscript located in the MS Visual C++ Build Tools installation
- Path to the
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
TCLLIBPATHenvironment variable.
3. Compile
Double-click start_msvc_shell.bat to open the compiler command shell.
nmake
nmake test
nmake install