Supported languages
Supported languages for building ACAP applications with ACAP Native SDK.
C
Most of the examples are built using C and can be found in the acap-native-sdk-examples GitHub repository. The SDK uses gcc to compile C programs.
C++
To see an example of a C++ application, see the using-opencv example. The SDK uses g++ to compile C++ programs.
Shell script
It is possible to write applications using shell script. These applications are architecture independent, which means you can package the application with either the aarch64 or armv7hf variant of the SDK, and it will still work on devices with either architecture. However, for this to work as expected you need to set acapPackageConf.setup.architecture to "all" in the manifest.json file. For an example of a hello world application written in shell script, see shell-script-example.
If an architecture dependent application is still desired, omit the acapPackageConf.setup.architecture from the manifest. In addition, you also need to manually pass --build no-build to acap-build. When setting acapPackageConf.setup.architecture to "all", --build no-build is implicitly passed to the acap-build script.