Function boost_plugin_loader::loadLibrary

Function Documentation

boost::dll::shared_library boost_plugin_loader::loadLibrary(const std::string &library_name, const std::string &library_directory = "")

Attempt to load library give library name and directory.

Parameters:
  • library_name – The library name to load which does not include the prefix ‘lib’ or suffix ‘.so’

  • library_directory – The library directory, if empty it will enable search system directories

Returns:

A shared library