Quick start examples for integrating Banuba SDK on Desktop in C++ apps.
Requirements
Usage
Token
Before you commit to a license, you are free to test all the features of the SDK for free. To start it, send us a message.
We will get back to you with the trial token.
You can store the token within the app.
Feel free to contact us if you have any questions.
Getting Started
- Clone the repository with submodules.
- Copy
bnb_sdk.tar.gz/mac(for Mac OS) orbnb_sdk.zip/binwithbnb_sdk.zip/include(for Windows) intoquickstart-desktop-cpp/bnb_sdkdir. - Windows only: copy contents of
bnb_sdk.zip/resourcesintoquickstart-desktop-cpp/resources. - Copy and Paste your client token into appropriate section of
quickstart-desktop-cpp/bnb_sdk_manager/BanubaClientToken.hpp. - Generate project files by executing next commands:
Windows x86 build:
cd %path_to_repository% git submodule update --init --recursive mkdir build cd build cmake -A Win32 ..Windows x64 build:
cd %path_to_repository% git submodule update --init --recursive mkdir build cd build cmake -A x64 ..MacOS build:
cd %path_to_repository% git submodule update --init --recursive mkdir build cd build cmake -G Xcode .. - Previous step will generate Xcode project for MacOS and Visual Studio project for Windows. Open project in appropriate IDE on your platform.
- Select target
single-image-processingrorrealtime-camera-preview. - Run build.
Docs
You can find more info here.
