- On-host Compilation
- On-device Compilation
This section explains how to compile QIMSDK plugins directly on a x86 host machine running Ubuntu.
Prerequisites
Before you begin, ensure the following:- Internet connectivity for downloading packages and source code.
- Sufficient space on the host to download the SDK. Upto ~5GB.
Download and install the sdk.
1
Download SDK
- x86 Host
- Arm Host
2
Extract and Install the SDK
- x86 Host
- Arm Host
3
Source the cross-compilation toolchain environment
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script in Step 4.
Steps to Compile
To download the source code and compile the sample applications, run the following commands.1
Clone the sources from github
2
Run CMake to generate the Makefile and build
After modifying any part of the source code, re-run step 2 to rebuild your changes.
The corresponding libs from build directory can then be copied on to device.
Steps to build custom application
Go through the prerequisites and Steps to Compile section before starting this.1
Create a subdirectory in gst-sample-apps
2
Build the application
3
Copy the binary to target device

