alpaqa no-casadi-dep
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
dl.hpp File Reference
#include <alpaqa/export.h>
#include <filesystem>
#include <memory>
#include <stdexcept>
+ Include dependency graph for dl.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dynamic_load_error
 Failed to load a DLL or SO file, or failed to access a function in it. More...
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa ::util
 

Functions

std::shared_ptr< void > load_lib (const std::filesystem::path &so_filename)
 Load a DLL or SO file.
 
void * load_func (void *lib_handle, const std::string &name)
 Get a pointer to a function inside of a loaded DLL or SO file.