Git Product home page Git Product logo

tclbuild's Introduction

Compile Tck and Tk on Windows with msys and gcc from Rtools

This repository contains the build instructions and sources to compile Tcl and Tk with the Bwidget and Tktable extensions.

Setup

  • 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/.

Compile Tcl and Tk

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.zip and Tcl64.zip) are in the final_build folder.
  • The Tcl32 and Tcl64 folders 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.

Test your Tcl/Tk build

You can test the builds by running wish86.exe (wish console)

  • C:/Tclbuild/Tcl32/bin/wish86.exe and enter

      source C:/Tclbuild/interactive_test_build.tcl
    
  • C:/Tclbuild/Tcl64/bin/wish86.exe and enter

      set 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.

URLs for sources

The sources can be found at the following urls

tclbuild's People

Contributors

waddella avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.