Bladed Knowledge Base

Static external controller API library for Linux
Category: Linux

Problem

Bladed versions affected: dtbladed for Linux 4.10 onwards

Date of last article update: 9th Novemeber 2022

===========================================================================

Is there a static version of the external controller API library for Linux (i.e. a "libExternalControllerApi.a" file)?

Solution

We do not produce a static version of the external controller API library for Linux (i.e. a "libExternalControllerApi.a" file).

When creating external controller DLL files for the Windows version of Bladed, the equivalent "ExternalControllerApi.lib" file is used to enforce compile-time checks against the delay-loaded controller DLL interface (i.e. ExternalControllerApi.dll - see the External Controller User Manual in the Bladed application folder for further details). However, on Linux, there is no direct equivalent of the delay-loading mechanism that gets used, so a static library file is not required. The "libExternalControllerApi.so" file will remain a dynamic dependency of your controller .so file and will be found from the Linux Bladed installation when you try to use it.





Keywords Linux, external controller, static library