Gerôncio Geroscópio
2014-Mar-11 23:07 UTC
[LLVMdev] Missing header file llvm/IR/Verifier.h
Hello, I don't know if it is the right place to ask, but, I'm trying the "Kaleidoscope tutorial", but, in the chapter 3, I can't compile the toy.cpp file because it complains about missing header file llvm/IR/Verifier.h . I'm using clang/llvm 3.4 source code downloaded as TGZ from main site. I'm using Ubuntu Linux, I compiled clang/llvm with the version from the system (installed via apt-get) and after I compiled it, I installed it again. The problem is that this header file isn't included in the llvm source so it isn't installed at /usr/local/include/llvm. I tried compiling from llvm/clang trunk (with the instructions from clang site), but at the end it was unusable, with a lot of errors. Any hint? Gero. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140311/239683ff/attachment.html>
Hi Gerôncio, you are mixing code from different LLVM versions. Verifier.h has moved: LLVM 3.4: llvm/Analysis/Verifier.h LLVM trunk: llvm/IR/Verifier.h Regards, Kai On 12.03.2014 00:07, Gerôncio Geroscópio wrote:> Hello, > > I don't know if it is the right place to ask, but, I'm trying the > "Kaleidoscope tutorial", but, in the chapter 3, I can't compile the > toy.cpp file because it complains about missing header file > llvm/IR/Verifier.h . > I'm using clang/llvm 3.4 source code downloaded as TGZ from main site. > I'm using Ubuntu Linux, I compiled clang/llvm with the version from > the system (installed via apt-get) and after I compiled it, I installed > it again. > The problem is that this header file isn't included in the llvm > source so it isn't installed at /usr/local/include/llvm. > > I tried compiling from llvm/clang trunk (with the instructions from > clang site), but at the end it was unusable, with a lot of errors. > > Any hint? > > Gero. > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >