search for: libllvmvmcor

Displaying 2 results from an estimated 2 matches for "libllvmvmcor".

Did you mean: libllvmvmcore
2012 Dec 27
0
[LLVMdev] Errors linking against libLLVMCore
...", s.c_str()); > > I figure I'm missing a lib, but I have no idea which. It is possible (but a bit unlikely) that your problem is because you're not linking in libstdc++. Some C++ methods are defined in header files; that might explain why your simple program works but using libLLVMVMCore.a doesn't work. Try using std::string::find() in your simple program and see if it links. If it doesn't, then I think you just need to add -lstdc++. -- John T. > > TIA, >
2012 Dec 26
3
[LLVMdev] Errors linking against libLLVMCore
I'm trying to make a library in Xcode that links against LLVM. I used the STL C++ template in Xcode 4.5.2, added libLLVMCore.a and libLLVMSupport.a to the link binaries phase, and made this call in my code: llvm::LLVMContext& llvmCTX = llvm::getGlobalContext(); I get link errors against std::string and other STL classes: Undefined symbols for architecture x86_64: