[llvm-dev] no member named 'DynamicLibrary' in namespace 'llvm::sys'

Alberto Barbaro via llvm-dev llvm-dev at lists.llvm.org
Sun Jan 27 02:02:03 PST 2019

I'm trying to use the following code in my project:

std::string ErrorMsg;
    if(sys::DynamicLibrary::LoadLibraryPermanently(0, &ErrorMsg))
        errs() << "???\n";
        return -1;

but DynamicLibrary is not found in the namespace. Have I missed something
when I compile llvm? Any suggestion?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190127/13f5c255/attachment.html>

More information about the llvm-dev mailing list