Building and Compiling
To build the generated classes, you may either add them to your own project or makefile, or use one that we have generated for you.
This section presents the basic command line procedure for building and compiling the example. For a detailed discussion on building and compiling your HydraExpress applications, see Chapter 22, “Options for Compiling,” in the HydraExpress Web Service Development Guide.
NOTE: On UNIX, you must set your RWSF_HOME environment variable before using the makefiles. (On Windows, the script rwsfvars.bat sets this for you.) On Windows, be sure you have set up your command window with the MSVC environment.
1. From the directory containing the generated output, invoke the following command specific to your OS.
This builds a release version of the shared library for all of your generated classes.
2. To build the libraries and the sample application together, issue the nmake command and specify the sample po1_main application target:
nmake po1_main.exe
make po1_main
To run the example, first make sure that your environment is set up as described in Chapter 2, “Setup,” in the HydraExpress User Guide. Run the po1_main application at the command prompt, by changing to the directory namespaceExample\bin, and calling the executable:
prompt> po1_main