There are several steps which a user must do to generate the environment which will include the C++ functionality. The first step is to create a file called cd.cd. If you want to name the file anything else you must edit the Imakefile by hand, see Chapter 4. The next step is to enter the following series of commands at the command prompt:
sem-check demeter isthmus-cd
cp Imakefile.sample Imakefile cp main_tcl.C.sample main.C cp main.tcl.sample main.tcl gen-make demeter run
The sem-check command checks the cd.cd file for semantic errors, then demeter creates the C++ environment which Isthmus requires. The next command isthmus-cd calls the tool which creates the TckTk interface code. There are several files which are created by this tool. It is not necessary to copy any of these files, however the files the programmer uses should be similar to the sample files. Also, if the sample files are copied exactlly as specified, the user may want to modify certain sections of them. Chapter 4 discusses modifications which can be made to the Imakefile. And the main.* files include a section which says where to include the user's code. After those files are set up properly, the command gen-make must be called. This is necessary because the Imakefile has changed. And anytime that happens the Makefile must be updated to reflect the changes. Then demeter must be called again to generate the finished environment which uses the settings and code specified in the modified files. Finally run starts up the executable and produces the output created by all this work.