Quick start examples for integrating Banuba SDK on Desktop in C++ apps.
Important
Please use v0.x branch for SDK version 0.x (e.g. v0.38).
-
Get the latest Banuba SDK archive for MacOS/Windows and the client token. Please fill in our form on form on banuba.com website, or contact us via info@banuba.com.
-
Copy
bnb_viewer_standalone/bnb_sdk/intoquickstart-desktop-cpp/bnb_sdkdir:bnb_viewer_standalone/bnb_sdk/=>quickstart-desktop-cpp/bnb_sdk -
For Windows and Linux: copy
bnb_viewer_standalone/resources/files intoquickstart-desktop-cpp/resourcesdir:bnb_viewer_standalone/resources/=>quickstart-desktop-cpp/resources. For MacOS: copybnb_viewer_standalone/resources/macfiles intoquickstart-desktop-cpp/resources/macdir:bnb_viewer_standalone/resources/mac=>quickstart-desktop-cpp/resources/mac. -
Copy
bnb_viewer_standalone/thirdfiles intoquickstart-desktop-cpp/thirddir:bnb_viewer_standalone/third/=>quickstart-desktop-cpp/third -
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:
cd %path_to_repository% mkdir build cd build cmake -A Win32 ..cd %path_to_repository% mkdir build cd build cmake -A x64 ..cd %path_to_repository% mkdir build cd build cmake -G Xcode .. -
Previous step will generate Xcode project for MacOS and Visual Studio project for Windows. Open viewer_standalone project in appropriate IDE on your platform.
-
Select target
single-image-processingrorrealtime-camera-preview. -
Run build.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature) - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request