I was trying to build llvm 2.9 using cmake 2.8 ("Nmake Makefiles" generator) and VC++ compiler (version 14.00)... I get the following error. I wonder if anyone has an ideas on hoe I might be able to move past it. using the same method of building for 2.8 works. thanks for any pointers.. Linking CXX executable ..\..\bin\tblgen.exe Creating library ..\..\lib\tblgen.lib and object ..\..\lib\tblgen.exp LLVMSupport.lib(Path.cpp.obj) : error LNK2019: unresolved external symbol "__dec lspec(dllimport) public: void __thiscall std::exception::_Raise(void)const " (__ imp_?_Raise at exception@std@@QBEXXZ) referenced in function "public: bool __thisca ll llvm::sys::Path::isAbsolute(void)const " (?isAbsolute at Path@sys at llvm @@QBE_NXZ) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110428/915658aa/attachment.html>
You might need to turn off exception by #define _HAS_EXCEPTIONS 0 http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/0b7c3741-9d6c-47d5-9a67-e4dd4b3c3807 Vinod Grover wrote:> > I was trying to build llvm 2.9 using cmake 2.8 ("Nmake Makefiles" > generator) > and VC++ compiler (version 14.00)... I get the following error. I wonder > if > anyone has an ideas on hoe I might be able to move past it. > using the same method of building for 2.8 works. > > thanks for any pointers.. > > > Linking CXX executable ..\..\bin\tblgen.exe > Creating library ..\..\lib\tblgen.lib and object ..\..\lib\tblgen.exp > LLVMSupport.lib(Path.cpp.obj) : error LNK2019: unresolved external symbol > "__dec > lspec(dllimport) public: void __thiscall std::exception::_Raise(void)const > " > (__ > imp_?_Raise at exception@std@@QBEXXZ) referenced in function "public: bool > __thisca > ll llvm::sys::Path::isAbsolute(void)const " (?isAbsolute at Path@sys at llvm > @@QBE_NXZ) > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-- View this message in context: http://old.nabble.com/Building-2.9-on-WinXP-tp31501653p31523295.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Possibly Parallel Threads
- [LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
- [LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
- [LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
- [LLVMdev] Comment "FIXME" in X86MachObjectWriter::RecordX86Relocation
- [LLVMdev] win32 broken again