Configuration¶
AVBLOCKS_CORE_PATH¶
The AVBLOCKS_CORE_PATH environment variable specifies the directory containing the native AVBlocks library.
How it works¶
When AVBlocks is imported, it searches for the native library in the following order:
The directory specified by
AVBLOCKS_CORE_PATHThe
sdk/lib/x64orsdk/lib/arm64directory, depending on your installation, relative to the package rootCommon system library paths:
/usr/local/lib(macOS/Linux)/usr/lib(Linux)
Setting the environment variable¶
macOS Intel (x86_64):
export AVBLOCKS_CORE_PATH=/path/to/avblocks/sdk/lib/x64
macOS Apple Silicon (arm64):
export AVBLOCKS_CORE_PATH=/path/to/avblocks/sdk/lib/arm64
Linux x64 (x86_64):
export AVBLOCKS_CORE_PATH=/path/to/avblocks/sdk/lib/x64
Linux ARM64 (aarch64):
export AVBLOCKS_CORE_PATH=/path/to/avblocks/sdk/lib/arm64
Windows x64, Command Prompt:
set AVBLOCKS_CORE_PATH=C:\path\to\avblocks\sdk\lib\x64
Windows x64, PowerShell:
$env:AVBLOCKS_CORE_PATH="C:\path\to\avblocks\sdk\lib\x64"
Windows ARM64, Command Prompt:
set AVBLOCKS_CORE_PATH=C:\path\to\avblocks\sdk\lib\arm64
Windows ARM64, PowerShell:
$env:AVBLOCKS_CORE_PATH="C:\path\to\avblocks\sdk\lib\arm64"
Library files¶
The native library file name depends on the platform:
Platform |
Library File |
|---|---|
macOS |
|
Linux |
|
Windows |
|