RTI Connext Micro
Version 2.4.1.0
|
Objectives of this user guide:
This user-manual describes how to build RTI Connext Micro for iOS. RTI does not ship prebuilt libraries for RTI Connext Micro on iOS. However, the RTI Connext Micro source-code has been built and tested on iOS 4.2 and iOS 7.1.
The RTI Connext Micro source code is available from RTI's support portal: support.rti.com
In order to build RTI Connext Micro for iOS it is required to install Xcode. RTI has tested with Xcode 4 and 5. In order to deploy and test to an actual iOS device it is necessary to obtain a developer certificate from Apple. Please see http://developer.apple.com for more information.
RTI Connext Micro works with both the iOS simulator and iOS devices.
RTI provides build-files based on CMake. CMake can be downloaded from http://www.cmake.org, and version 2.8 or higher is required. It is recommended to install the CMake GUI.
In order to create a project file for building RTI Connext Micro using Xcode, cmake tool-chain file is required. A tool-chain file can be downloaded from here:
https://code.google.com/p/ios-cmake
The following is step by step instructions on how to built the RTI Connext Micro source:
shell> cmake-gui . This will start up the CMake GUI where all build configuration takes place.
Name: CMAKE_IOS_SDK_ROOT Value: <path to iOS SDK> Type: FILEPATH The <path to iOS SDK> depends on version of iOS and version of Xcode. For iOS 7.1 and Xcode 5 the path to the SDK is: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
CMAKE_BUILD_TYPE: Debug or blank. If Debug is used the RTI Connext Micro debug libraries are built. RTIMICRO_BUILD_API: C or C++ C - Include the C API. C++ - Include the C++ API. RTIMICRO_BUILD_DISCOVERY_MODULE: Dynamic | Static | Both Dynamic - Include the dynamic discovery module. Static - Include the static discovery module. Both - Include both discovery modules. RTIMICRO_BUILD_LIBRARY_BUILD: Single - Build a single library. RTI style - Build the same libraries RTI normally ships. This is useful if RTI libraries are already being used and you want to use the librarires build from source. RTIMICRO_BUILD_LIBRARY_TYPE: Static - Build static libraries. Shared - Build shared libraries. RTIMICRO_BUILD_LIBRARY_PLATFORM_MODULE: Select POSIX for iOS RTIMICRO_BUILD_LIBRARY_TARGET_NAME: <target name> Enter a string as the name of the target. This is also used as the name of the directory where the built libraries are placed. If you are building libraries to replace the libraries shipped by RTI you can use the RTI target name here. It is then possible to set RTIMEHOME to the source tree (if RTI style is selected for RTIMICRO_BUILD_LIBRARY_BUILD).
There are no iOS specific RTI Connext Micro examples. However, with small modifications it is possible to use any of the existing examples found in the examples directory.