Installation and Setup
Overview
The BMC C++ SDK Windows installer sets up the necessary components for the SDK on the system. This includes:
The core SDK library (
bmc_sdk.dll
andbmc_sdk.lib
).Example applications to test the SDK.
The "bridge" service used by the library.
Header files for integration (
include
directory).
Installation
Download the Installer: Get the Binho Mission Control SDK installer named
BinhoMissionControlSDK-x.y.z.exe
wherex.y.z
is the SDK's version.Run the Installer: Double-click on
BinhoMissionControlSDK-x.y.z.exe
and follow the on-screen prompts.Installation Directories: By default, the SDK will be installed into the
c:\Program Files (x86)\BinhoMissionControlSDK
directory. Inside this directory, you will find:bmc_sdk.dll
: The SDK dynamic link library.bmc_sdk.lib
: The SDK static library.README.md
: Read-me file in markdown format for users.examples
: A directory containing example applications.bridge
: A directory containing components for the bridge service used by the library.include
: A directory containing various header files necessary for SDK integration.
Add to PATH Environment Variable: For the applications to function correctly, the
bridge
directory must be added to the system's PATH environment variable.Integration: To integrate the Binho Mission Control SDK into a project:
Reference the SDK library using the static or dynamic library files.
Include necessary headers from the
include
directory.
Test the Example Applications: After setting up the PATH, you can run the example applications in the examples directory.
Installation Directory Structure
Development Environment Setup
To develop a C++ application using the BMC C++ SDK, ensure that both the bridge executable and the SDK library are reachable in the system's PATH. Additionally, the library uses the nlohmann_json
library, which is a requirement for building applications.
Follow these steps to set up the environment:
Add the directory containing the bridge executable and the directory containing the library to the PATH environment variable before running the application.
Alternatively, prepend the PATH variable to the command execution:
On Mac:
On Linux:
On Windows (using Command Prompt):
Or on Windows (using PowerShell):
Replace /path/to/installation_dir
with the actual path to the installation_dir
directory. Ensure to use the correct slashes for your operating system (/
for Mac/Linux, \
for Windows).
Example Applications
The provided example applications can serve as a guide for creating a new project using the BMC C++ SDK. The examples are located in the examples
directory, and the instructions to build and execute them are similar to those described above.
CMake Example for Building Applications
Below is an example of a CMakeLists.txt
file for building a sample application (i3c_cccs
) that uses the BMC C++ SDK and nlohmann_json
library:
Last updated