6.1. Prepare Your Development Environment

This section describes how to set up your development environment for Connext Cert applications, such as the required environment variables, compilers, compiler definitions, and libraries.

6.1.1. Set environment variables

The RTIMEHOME environment variable must be set to the installation directory path for RTI Connext Cert. If you installed RTI Connext with default settings, RTI Connext Cert will be here: <path_to_connext_dds_installation>/rti_connext_dds-<version>/rti_connext_micro-<version>. If you copied RTI Connext Cert to another place, set RTIMEHOME to point to that location.

6.1.2. Add required preprocessor flags

All Connext Cert applications require the following preprocessor defines:

-DRTI_PSL=1
-IRTIMEHOME/include
-IRTIMEHOME/include/rti_me
-IRTIMEHOME/include/rti_me/rti_me_psl

Add the following preprocessor defines, according to your platform and compiler:

Using QCC:

-DOSAPI_CC_DEF_H=osapi/osapi_cc_qcc.h
-DRTI_QNX