Next: Example Programs
Up: Writing An X
Previous: Loading External Resource
The following header files should be included for programs using the
Athena widget set:
- X11/Intrinsic.h
- X11/StringDefs.h
- Plus lines of the form X11/ Widget.h --- where Widget.h
is the header file for each different widget class used in the application.
Motif widget set:
- Xm/Xm.h
- Plus lines of the form Xm/ Widget.h --- where Widget.h
is the header file for each different widget class used in the application.
Compiling and linking Athena based applications can be achieved by the command,
cc -o executable_file_name source_file_name -lXaw -lXt -lXmu -lX11
Compiling and linking Motif based applications can be achieved by the command,
cc -o executable_file_name source_file_name -lXm -lXt -lX11
JR Pitchers
Wed May 3 16:45:04 BST 1995