2. Installing Connext Drive

A Connext Drive installation typically consists of a host bundle followed by one or more target bundles. To install Connext Drive, you must first install the host bundle, then choose which target (SDK libraries) to install.

For convenience, the Connext Drive host bundle includes an installation of Connext Micro, RTI’s libraries optimized for environments with size, weight, and power constraints, available as source code for easy porting. See Safety-Certified Libraries to learn how Connext Micro may be relevant for programs with safety requirements.

Note

If you have installed an LM or evaluation bundle, you do not usually need to install a target (unless you are cross-compiling for a different CPU). LM and evaluation bundles (usually used for evaluation purposes) combine the host, target, and some add-ons in one package. They have lm or eval in their name, such as rti_connext_drive-<connext-drive-version>-lm-x64Win64VS2017.exe.

Connext Drive is provided in two types of bundles:

  • A host bundle that contains files such as documentation, header files, source-code based products, tools, and Infrastructure Services executables. The host bundle is provided as a .run, .dmg, or .exe file that will run an installer.

    Host bundles are named one of the following:

    • rti_connext_drive-<connext-drive-version>-host-<host-platform>.run

    • rti_connext_drive-<connext-drive-version>-host-<host-platform>.dmg

    • rti_connext_drive-<connext-drive-version>-host-<host-platform>.exe

    The <host_platform> depends on your development platform, such as x64Win64 for a 64-bit Windows® platform. See Bundle Overview for the <connext-drive-version> supported in this bundle.

  • A target bundle that contains Connext Professional SDK libraries you will link against, or an add-on bundle that extends the capabilities of Connext Drive, which are installed as an *.rtipkg on top of a host. For target bundles of cross-compiled architectures, the bundle will also include any applications that are supported for your architecture (e.g., rtiddsspy).

    Target bundles are named: rti_connext_dds-<connext-professional-version>-<package_type>-target-<architecture>.rtipkg. For example: rti_connext_dds-7.3.0-pro-target-x64Win64VS2017.rtipkg.

    Add-on bundles are named: rti_<addon_package_name>-<connext-professional-version>-<architecture>.rtipkg. For example: rti_cloud_discovery_service-7.3.0-host-arm64Darwin.rtipkg.

    See Bundle Overview for the <connext-professional-version> supported in this bundle.

    The <architecture> depends on your target machine (where you will deploy your completed application). Your architecture is the combination of a processor, OS, and compiler version that you will use to build your application. For example, if you have a 64-bit Windows machine with Visual Studio® 2017, use x64Win64VS2017. For a 64-bit Linux machine with gcc version 7.3.0, use x64Linux4gcc7.3.0. To see the full list of available architectures, see the “RTI Architecture Abbreviation” columns in the RTI Connext Core Libraries Platform Notes.

Note

A few notes about target and add-on bundles:

  • In the Support portal, you will find a section for the hosts (RTI Connext Drive). The targets and add-on bundles will be associated with other sections (Connext Drive components). For example:

    • RTI Connext Professional targets are under the “Products → RTI Connext Professional → <connext-professional-version>” section.

    • RTI Connext Cert is under the “Add-on Products → RTI Connext Cert for Automotive” section.

  • You will need to install more than one target bundle if you are developing for multiple target architectures, such as developing for both Linux® and QNX® systems.

  • You must have a target bundle even if you are developing for Java®. This is because Connext requires native libraries as well as the Java SDK. If you are on a Windows system, you can generally install any Windows architecture if you plan to develop with Java.

  • However, a target installation is not necessary for building or running C# applications. The NuGet package Rti.ConnextDds contains the necessary native libraries.

2.1. Installing a Host or LM/Evaluation Bundle

Host bundles and “license managed” bundles (LM or evaluation bundles) are applications; thus, they can be started from a GUI or command line. To install them, do either of the following:

2.2. Installing a Target Bundle

A target or add-on bundle is an “RTI Package” (*.rtipkg) file that must be installed on top of your host bundle.

2.2.1. Installing a Target with a command-line script

After you install the host bundle, you can run the script bin/rtipkginstall. This script will install one or more target bundles.

To run this script from the command line, type:

$ <installdir>/bin/rtipkginstall <path to rtipkg>

Where <installdir> is your installation directory.

2.2.2. Installing a Target with a GUI

After you install the host bundle, you’ll have a tool called RTI Launcher. (See Starting Launcher, in the RTI Launcher User’s Manual.)

To install a target bundle from the Launcher tool, open the Configuration tab and select “Install RTI Packages.” This will open a dialog that allows you to select one or more *.rtipkg files that you would like to install.

../_images/install_rti_pkg.png
../_images/pkg_installer.png

Note

In some Linux operating systems, executing the desktop shortcut for Launcher might report that the application has not been marked as trusted. This is a harmful warning that will prevent you from executing Launcher using the desktop shortcut. To remove this warning, click Trust and Launch. This will mark the desktop shortcut as a trusted application, allowing you to run the application.

../_images/launcher_linux_warning.png


If the warning doesn’t appear when executing the desktop shortcut for Launcher, you might need to allow the shortcut to be launched. To do so, right-click on the shortcut and select Allow Launching.

../_images/allow-launching.png

2.3. Paths Mentioned in the Documentation

The default top-level directory for Connext Drive is rti_connext_dds-<connext-professional-version>, which corresponds to the version of Connext Professional included in the bundle. See Bundle Overview for the <connext-professional-version> supported in this bundle.

This documentation refers to the following directories, depending on your operating system:

$NDDSHOME: This refers to the installation directory for Connext.

The default installation paths are:

  • Non-root user: /home/<your user name>/rti_connext_dds-<connext-professional-version>

  • Root user: /opt/rti_connext_dds-<connext-professional-version>

$NDDSHOME is an environment variable set to the installation path.

You must set the NDDSHOME environment variable according to your selected operating system.

Sometimes this documentation uses <NDDSHOME> to refer to the installation path. Whenever you see <NDDSHOME> used in a path, replace it with $NDDSHOME for Linux or macOS systems, with %NDDSHOME% for Windows systems, or with your installation path.

Set the RTIMEHOME environment variable to the installation directory path for Connext Micro. If you installed Connext Drive with default settings, Connext Micro will be here: <path_to_connext_dds_installation>/rti_connext_dds-<connext-professional-version>/rti_connext_dds_micro-<connext-micro-version>. If you copied Connext Micro to another place, set RTIMEHOME to point to that location. See Bundle Overview for the <connext-micro-version> and <connext-professional-version> supported in this bundle.

Set RTIME_TARGET_NAME to your target architecture:

  • If you have a Connext Drive LM or evaluation bundle, set RTIME_TARGET_NAME to one of the two target architectures that are installed as part of the bundle:

    • armv8Linux4gcc7.3.0CERT

    • x64Linux4gcc7.3.0CERT

  • If you have a non-LM/eval bundle, set RTIME_TARGET_NAME to the architecture of the target package you installed.

2.4. Setting Up a License

Most installations require a license file to run the tools or features included with Connext. If your distribution requires a license file, you will receive one from RTI via e-mail.

The easiest way to configure your license file is using Launcher, as shown below:

../_images/config_license.png

If you do not want to use Launcher, you can also install a license by placing it in one of these two locations:

  • <installation directory>/rti_license.dat

  • <workspace directory>/rti_license.dat

The workspace directory is in the locations below by default, depending on your operating system:

/home/<your username>/rti_workspace/

A third way to install a license is to configure the environment variable RTI_LICENSE_FILE to point to your license file.

For more details, see the License Management section in the RTI Connext Installation Guide.

2.5. Checking What’s Installed

To find out what target libraries or add-ons you have installed, you can use the Launcher tool. See Starting Launcher, in the RTI Launcher User’s Manual. Once in Launcher, open the Configuration tab:

../_images/check_installed.png

To check which target architectures you have installed, click on Connext Target Libraries, which will show you each installed target library and its version.

If you do not see any target libraries listed, you are missing a vital part of the Connext SDK, and you will not be able to compile your own applications. You can still run tools such as RTI Admin Console.

2.6. Telemetry Data Collected by Evaluation Version

Telemetry data, which contains general product usage information without any personal data or personal identifiers, is shared with RTI only for evaluation bundles (bundles with “eval” in their name), via a TELEMETRY_DATA.json file. You can enable/disable usage data sharing. See Telemetry Data Collected by Evaluation Version for more information.

2.7. Where Do I Get More Help?

Advanced installation help can be found in the RTI Connext Installation Guide, which explains:

  • Installer command-line options

  • Controlling the location of the RTI Workspace directory

  • Additional license management options

  • Special backup of RTI libraries

  • How to uninstall Connext

Continue to Publish/Subscribe to start learning about the capabilities and features of Connext.

Additional documentation for RTI products and user forums can be found on community.rti.com. If you have additional questions or concerns, please contact your sales team.