28 typedef float (GetVersion)(
float*);
30 loadSymbol<GetVersion>(
"libcfitsio",
"ffvers")(&version);
39 return std::string(loadSymbol<char const>(
"libfftw3",
"fftw_version"));
44 typedef char const* (GetVersion)(
int[]);
45 return std::string(loadSymbol<GetVersion>(
"libwcs",
"wcslib_version")(NULL));
50 return std::string(*loadSymbol<char const*>(
"libgsl",
"gsl_version"));
57 for (
auto&& pkg : packages) {
59 versions[pkg.first] = pkg.second();
std::string getCfitsioVersion()
std::string getFftwVersion()
std::map< std::string, std::string > getRuntimeVersions()
Return version strings for dependencies.
std::string getWcslibVersion()
A base class for image defects.
table::Key< int > version
std::string getGslVersion()