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/bin
withbnb_sdk.zip/include
(for Windows) intoquickstart-desktop-cpp/bnb_sdk
dir. -
Windows only: copy contents of
bnb_sdk.zip/resources
intoquickstart-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-processingr
orrealtime-camera-preview
. -
Run build.
- Clone the repository with submodules.
- Copy
bnb_sdk.tar.gz/mac
intoquickstart-desktop-cpp/bnb_sdk
dir. - 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-preview
orvideostream-processing
. - Run build.
You can find more info here.