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/x64directory relative to the package rootCommon system library paths:
/usr/local/lib(macOS/Linux)/usr/lib(Linux)
Setting the environment variable¶
macOS / Linux:
export AVBLOCKS_CORE_PATH=/path/to/avblocks/sdk/lib/x64
Windows (Command Prompt):
set AVBLOCKS_CORE_PATH=C:\path\to\avblocks\sdk\lib\x64
Windows (PowerShell):
$env:AVBLOCKS_CORE_PATH="C:\path\to\avblocks\sdk\lib\x64"
Library files¶
The native library file name depends on the platform:
Platform |
Library File |
|---|---|
macOS |
|
Linux |
|
Windows |
|