EXAMPLES

SUMMARY

Each example can be built individually. It is also possible to build a number of examples at the same time.


Building all examples in a posix environment

The examples can be built together using the various makefiles found in the examples directory of the installed version of OpenSpliceDDS when building in a posix environment, using the following commands:

Before running any of the above commands it is necessary to set your environment using the release.com file found in the the OpenSpliceDDS installation. When building the CORBA examples using the above makefiles the ACE_ROOT and ODBCHOME environment variables must be set when building the CORBA C++ examples and the ACE_ROOT/lib directory must be added to the LD_LIBRARY_PATH. When building the CORBA Java examples the JACORB_HOME environment variable must be set.

Building examples in Visual Studio

The examples can be built in Visual Studio using solutions files provided.

After installing OpenSpliceDDS, from the start menu select the installed version of OpenSpliceDDS, then select Examples. There are 3 options:

When building the CORBA examples using the CORBA C++ Examples option the ACE_ROOT and ODBCHOME environment variables must be set.

Building Java examples on Windows

Batch files are provided to build the Java examples in a windows environment. These files can be found in the examples directory of the installed OpenSpliceDDS. Start an OpenSpliceDDS command prompt and simply run

If building the CORBA Java examples the JACORB_HOME environment variable must be set.