Skip to content
Snippets Groups Projects
Commit a1323ca2 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Write dlerror() info if library cannot be load

parent f133ada4
No related branches found
No related tags found
No related merge requests found
Pipeline #2023 passed
......@@ -38,8 +38,9 @@ PluginsLoader::_open(const std::string& plugin)
std::cout << " * \"" << rang::fgB::green << plugin << rang::fg::reset << "\"\n";
}
} else {
std::cerr << " " << rang::fgB::red << "cannot load " << rang::fg::reset << '\"' << rang::fgB::yellow << plugin
std::cerr << " *" << rang::fgB::red << "cannot load " << rang::fg::reset << '\"' << rang::fgB::yellow << plugin
<< rang::fg::reset << "\"\n";
std::cerr << " " << rang::fgB::magenta << dlerror() << rang::fg::reset << '\n';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment