--> |
Programming the SIMPL Way - Second Edition |
On your Linux distribution you'll want to verify that you have the following additional packages:
If you wish to run the sudoku code associated with the book you can either follow the manual installation procedure or you can use the following self installing archive.
The self installing archive simplifies the installation of SIMPL and the sample code from the book into one single install script. This installation will be done in /tmp and will allow you to run all the code associated with the book as a temporary demo. If you are satisfied and wish to make this SIMPL installation permanent you will be offered that option.
The steps are as follows:
NOTE: If you wish to examine this install script before running it
you can simply edit simplbookbin.sh. The installer script is contained in
the first part up until the line:
__TARBALL_FOLLOWS__
If all your code installed and built correctly using the procedure above you should be able to see a list of tests associated with the book sample code.
From that list of Sudoku puzzle solver tests you can select the Tcl/Tk
integration test by typing:
sb005
at the installer script prompt.
If you are successful a window similar to the following should pop up: (at least after you select the Test button)
Have fun. Hope you enjoy the book.