This repository contains the build instructions and sources to compile
Tcl and Tk with the Bwidget and Tktable extensions.
- Download the newest R tools from
here and install it
under
c:\Rtools. - Clone this git repository into 'C:\Tclbuild'
- Install msys v1 (which comes bundled with mingw) from
here. Install it under
C:/MinGW/.
Start a msys terminal by running C:/MinGW/msys/1.0/msys.bat and
enter
cd /c/Tclbuild
./tclbuild.sh
After running the build script there will be a couple outputs
- Logs and builds (archived and compressed:
Tcl32.zipandTcl64.zip) are in thefinal_buildfolder. - The
Tcl32andTcl64folders are the final builds (that get compressed as mentioned in the above point)
Note that running the tclbuild.sh script will delete the files in
final_build.
You can test the builds by running wish86.exe (wish console)
-
C:/Tclbuild/Tcl32/bin/wish86.exeand entersource C:/Tclbuild/interactive_test_build.tcl -
C:/Tclbuild/Tcl64/bin/wish86.exeand enterset auto_path [concat C:/Tclbuild/Tcl64/lib64 $auto_path] source C:/Tclbuild/interactive_test_build.tcl
The auto_path issue for the 64bit build gets resolved when compiling
R with this Tcl/Tk build on Windows.
The sources can be found at the following urls
tcl864-src.zip(direct link)tk864-src.zip(direct link)bwidget-1.9.9.ziptktable-tktable.tar.gz(direct link). Note that this is from the cvs repository and version 2.11. The stable build is 2.10 but ActiveTcl also ships with 2.11 (although I am not sure which commit).