2.2. Setting Up Your Environment

This section includes information regaring compiling and linking an application against Connext Micro and how to set up an environment. Note that this section is generic and common for all platforms; the platform notes section may include additional information relevant for a specific platform.

The RTIMEHOME environment variable must be set to the installation directory path for RTI Connext Micro.

2.2.1. Compiler Preprocessor Defines

All application code including Connext Micro header-files and all code generated with rtiddsgen must be compiled with -DRTI_CERT=1 flag when using the Connext Micro CERT profile.

When compiling against release libraries the -DNDEBUG=1 flag must be added.

2.2.2. Compiler Header Files Path

When compiling an application, the Connext Micro header files are located in the following directory and the compiler’s include search path must include this directory:

RTIMEHOME/include

2.2.3. Libraries

The Connext Micro library comes in two different flavors:

  • Release: Compiled without additional debug information.

  • Debug: Compiled with additional debug information. Libraries with debug have a d suffix.