Alberto Barbaro via llvm-dev
2019-Jan-27 10:02 UTC
[llvm-dev] no member named 'DynamicLibrary' in namespace 'llvm::sys'
Hi, 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? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190127/13f5c255/attachment.html>
Alberto Barbaro via llvm-dev
2019-Jan-27 10:10 UTC
[llvm-dev] no member named 'DynamicLibrary' in namespace 'llvm::sys'
Nevermind I solved it Sorry for the spam Il giorno dom 27 gen 2019 alle ore 10:02 Alberto Barbaro < barbaro.alberto at gmail.com> ha scritto:> Hi, > 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? > > Thanks >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190127/f6f2952d/attachment.html>