-
Notifications
You must be signed in to change notification settings - Fork 151
Build Linux
Huts, Roman edited this page Apr 1, 2022
·
1 revision
- Makefiles are used to build the projects and samples on Linux.
- Some samples such as PlaybackHW require the Vulkan SDK.
- Set the required path environment variable accordingly:
export VK_SDK_PATH=<download_location>/VulkanSDK/1.3.204.1
# (1) switch to the appropriate directory
# 1.1 for building an individual sample
cd amf/public/samples/CPPSamples/CapabilityManager
# 1.2 for building all the samples
cd amf/public/samples
# (2) build (see the options section for more details)
make all <options>
# (3) output can be found inside amf/bin/<build_type>/
ls amf/bin/<build_type>
# build release version
make all BUILD_TYPE=rel
# build debug version
make all BUILD_TYPE=dbg