Skip to content

Voxel::DepthCameraLibrary

Prasad H L Bhat edited this page Sep 14, 2015 · 1 revision

Voxel::DepthCameraLibrary is used to load and create factory objects from board-specific libraries. See here for the steps done in Voxel::CameraSystem to use this class.

Functionality

This class uses dl library in case of Linux, and LoadLibrary API in case of Windows for dynamic loading a board-specific library.

Before loading a library, it first checks whether the ABI version of Voxel library that this board-specific library was compiled with, matches with that of the currently running Voxel library's API.

Voxel board-specific library version

In case of Windows, the file version of board-specific library DLL is supposed to be in the format 'ABI_VERSION.0.0.0', where 'ABI_VERSION' is the ABI version of Voxel library that this board-specific library was compiled with. In case of Linux, ABI_VERSION is to be set as 'SO_VERSION' attribute in the board-specific library. See [here](Voxel Camera Developer Guide#create-shared-library) for a detailed example of how to set this version information.