tcl / tk compiler


Reference: http://www.tcl.tk/doc/howto/compile.html#win

Bin can download pre-compiled version:

https://bitbucket.org/tombert/tcltk/downloads/

1. Download tcl-tk library

http://www.tcl-lang.org/

https://nchc.dl.sourceforge.net/project/tcl/Tcl/8.6.10/tcl8610-src.zip

https://nchc.dl.sourceforge.net/project/tcl/Tcl/8.6.10/tcl8610-src.zip


2.

Unzip the file downloaded to the following directory

E:\osg\tcl-tk\tcl8.6.10

versus

E:\osg\tcl-tk\tk8.6.10

And create the following directories:

E:\osg\tcl-tk\tcltk


3. Compile

Open the X64 Native Tools Command Prompt for VS 2019 program


3.1 TCL

cd E: \ osg \ tcl-tk \ tcl8.6.10 \ win

nmake -f makefile.vc INSTALLDIR=E:/osg/tcl-tk/tcltk

nmake -f makefile.vc install INSTALLDIR=E:/osg/tcl-tk/tcltk


3.2 TK

cd E:\osg\tcl-tk\tk8.6.10\win

nmake -f makefile.vc INSTALLDIR=E:/osg/tcl-tk/tcltk TCLDIR=E:/osg/tcl-tk/tcl8.6.10

nmake -f makefile.vc install INSTALLDIR=E:/osg/tcl-tk/tcltk TCLDIR=E:/osg/tcl-tk/tcl8.6.10

Guess you like

Origin www.cnblogs.com/gispathfinder/p/12183373.html
TCL