[LLVMdev] CLANG examples are not working

Nitin Mukesh Tiwari tnitinmukesh at gmail.com
Sun Sep 21 14:06:44 PDT 2014


I am new to LLVm and I have recently installed LLVM and clang by following
all the steps mentioned on
http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary.

For building the project I created a folder build parallel to LLVM and then
triggered following three commands
cd build
cmake ../llvm
make

All the commands like clang++ lli, llc, llvm-config are working fine but
when I try to compile any of the examples provided in llvm/examples folder,
I received alot of compilation errorsl
Errors are like
verifier.h file not found
nullptr is undefined

Can you please help me in this regards

Thanks and Regards
Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140921/c8796e18/attachment.html>


More information about the llvm-dev mailing list