Quick start examples for integrating Banuba SDK on Desktop in C++ apps.
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.
To get latest Banuba SDK build follow Releases section in the FaceAR-SDK-desktop-releases repository.
-
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/helpers/src/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 .. -
Previous step will generate Visual Studio project for Windows. Open project in IDE.
-
Select target
single-image-processingrorrealtime-camera-preview. -
Run build.
- Clone the repository with submodules.
- Copy
bnb_sdk.tar.gz/macintoquickstart-desktop-cpp/bnb_sdkdir. - Copy and Paste your client token into appropriate section of
quickstart-desktop-cpp/helpers/src/BanubaClientToken.hpp. - Generate project files by executing next commands:
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-processing,realtime-camera-previeworvideostream-processing. - Run build.
You can find more info here.
