Desktop Getting Started
#
Requirements- Latest stable xCode on MacOS
- Latest stable Microsoft Visual Studio on Windows
#
Get the client token and configuration fileTo start working with the Banuba SDK in your project, you need to have the client token. To receive the client token please fill in our form on banuba.com website, or contact us via info@banuba.com.
#
Get the Banuba SDK archiveWith the client token, you will also receive the Banuba SDK archive for desktop which contains:
bnb_sdk
folder with dynamic libs and include files,third
folder with third-party libraries,resources
folder
#
Build your project with Banuba SDK on WindowsCopy
bnb_sdk
folder from your SDK archive to your project.Configure your project to use Banuba SDK:
Open Project
Properties
->Linker
->Input
and addadditional dependencies
:bnb_effect_player.lib
.Open Project
Properties
->Linker
->General
and addadditional library directories
for each build configuration:bnb_sdk/bin/{platform}/{configuration}
.Open Project
Properties
->VC++ Directories
and addinclude directories
:bnb_sdk/include
.
note
You need to copy
bnb_effect_player.dll
to thebuild
directory. You may do this by using a post-build action in your project or just copying manually.You will also need third-party libraries to run your project with Banuba SDK. You will find them in the
third
folder in your SDK archive. Copy thethird
folder to your project.When you need one of these libraries just configure your project to use this library like at the 2nd point.
For example, you will need to use the
glad
library. Addglad
include directories to your project.You also need to copy
third/openal
andthird/ffmpeg
dlls to thebuild
directory.
Now you can run your project with Banuba SDK.
#
Build your project with Banuba SDK on MacOSCopy the
bnb_sdk
folder from your SDK archive to your project.Configure your project to use Banuba SDK (if you need debug version, replace
release
withdebug
in the paths):Open Project
General
->Framework, Libraries, and Embedded Content
and add BanubaEffectPlayer.framework (path to framework:bnb_sdk
->mac
->release
)Open Project
Build Settings
->Search Paths
->Header Search Paths
and add path to headers:${SRCROOT}/bnb_sdk/mac/release/BanubaEffectPlayer.framework/Versions/A/Headers
You will also need third-party libraries to run your project with Banuba SDK. You will find them in the
third
folder in your SDK archive. Copy thethird
folder to your project.When you need one of these libraries just configure your project to use this library like at the 2nd point.
- For example, you will need to use the
glad
library. Addglad
include directories to your project.
- For example, you will need to use the
Now, you can run your project with release version of Banuba SDK.