Building a YAWL Application

The installation on the CD-ROM comes with two YAWL libraries: libyawl.a (GCC) and yawl.lib (BCC32). YAWL is used for writing graphical Windows programs and stands for Yet Another Windows Library, and is discussed in Appendix B, “A Short Library Reference.” To build a YAWL program with GCC, you need to link with libyawl.a and the Mingw32 graphics device interface (GDI) import library:

C:\gcc\test>c++ yhello.cpp libyawl.a –lgdi32 -lcomdlg32
					

You need the GDI library to glue YAWL to the underlying Windows application programming interface (API) graphics calls. In the Mingw32 lib directory of GCC, you find a large number of files like lib*.a, one of which is libgdi32.a. The name following the –l option in the command ...

Get C++ By Example: UnderC Learning Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.