An assumption is made that you have already downloaded and installed the latest SIMPL code.
NOTE: The SIMPL-Tcl/Tk shared library requires some of the headers contained in the Tcl/Tk source package in order to compile. Be sure that you have BOTH the Tcl/Tk runtime and the Tcl/Tk source packages installed on your Linux system before doing the following steps.
Step 1: Download the latest SIMPL-Tcl/Tk source tar.gz file to your system if you have not already done so (~6k)
Step 2: To undo the gzip'd tar file simply perform the following steps:
This will create an $SIMPL_HOME/tcl-x.x tree and place all of the source for the code in there.
Step 3: Create a symbolic link to tcl
cd $SIMPL_HOME
ln -s tcl-x.x tcl
where
x.x is substituted for actual version. eg. 1.5
Step 4: Build the code
If the $SIMPL_HOME/scripts is in your PATH you can simply type
buildsimpl.tcl
Alternatively you can
cd $SIMPL_HOME/tcl
make clean
make install
This will create the Tcl/Tk shared library and move it to $SIMPL_HOME/lib.
Step 5: Run the examples.
There are some examples of Tcl/Tk-SIMPL code in the $SIMPL_HOME/tcl/test directory as well as in the SIMPL examples tarball
Step 6: Have fun with the stuff.
If you have any problems, comments or suggestions for improvement don't hesitate to contact the SIMPL project mailing list.
There is an online course that utilizes the Tcl/Tk-SIMPL interface.
There are a couple of other open source projects which make use of the Tcl/Tk-SIMPL interface