Building Sample Programs

Sample programs can be created from the sources provided in /usr/examples/dtk/dtsamples. This section describes the procedure for building the sample programs. Before proceeding make sure that the DECtalk Software development kit has been installed.

Click here to go to the help about using the DECtalk Software programming applets for more information on different components of DECtalk Software.

1. Create a local directory in which you want to build the sample programs.

2. Copy all the files in /usr/examples/dtk/dtsamples into the directory that you just created.

3. Generate a Makefile from the Imakefile by typing:

usr/bin/X11/xmkmf

4. Compile and link the sample application programs by typing the following command while still in the directory that you just created:

make all

5. After the make program completes successfully, the sample programs are ready to run.

In addition to the sample programs you will also find some demo text files in your directory. These files demonstrate some of the DECtalk Software capabilities.

Related topics