<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Is there an up-to-date tutorial that you can recommend?</span></div><div><span><br></span></div><div><span>I haven't been able to successfully do anything at all on Clang except compile stuff.</span></div><div><span><br></span></div><div><span>The python bindings don't work for me either.</span></div><div><span><br></span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Sean Silva <silvas@purdue.edu><br> <b><span style="font-weight: bold;">To:</span></b> NY Knicks Fan <nyknicksfan92009@yahoo.com> <br><b><span style="font-weight:
 bold;">Cc:</span></b> "cfe-dev@cs.uiuc.edu" <cfe-dev@cs.uiuc.edu> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, July 9, 2012 2:47 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [cfe-dev] Unable to do even basic Clang tutorial<br> </font> </div> <br>That tutorial is pretty old; I wouldn't be surprised if headers have<br>moved around or otherwise broken the tutorial. You also might need to<br>use `llvm-config` to get certain flags that are needed for compiling<br>with LLVM/Clang.<br><br>Lack of good tutorials is currently one of LLVM/Clang's biggest<br>documentation deficiencies (if not *the* biggest). If there's a<br>certain tutorial that you would like to see, please let us know. I<br>can't promise anything, but it's worth vocalizing these things so that<br>they have a sliver of a chance of getting done.<br><br>--Sean Silva<br><br><br>On Mon, Jul 9, 2012 at 11:34 AM, NY Knicks Fan<br><<a
 ymailto="mailto:nyknicksfan92009@yahoo.com" href="mailto:nyknicksfan92009@yahoo.com">nyknicksfan92009@yahoo.com</a>> wrote:<br>> I'm trying to do the tutorials at:<br>><br>> <a href="https://github.com/loarabia/Clang-tu...i/TutorialOrig" target="_blank">https://github.com/loarabia/Clang-tu...i/TutorialOrig</a><br>><br>> and I can't even do the first tutorial. I installed LLVM 3.1 and Clang 3.1<br>> and when I do:<br>><br>> ~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp In file included<br>> from tutorial1.cpp:5: In file included from ./llvm/Support/raw_ostream.h:17:<br>> ./llvm/Support/llvm/ADT/StringRef.h:13:10: fatal error:<br>> 'llvm/Support/type_traits.h' file not found<br>><br>> include "llvm/Support/type_traits.h"<br>> ^<br>> 1 error generated.<br>><br>> Do you know what I am doing wrong? I'm not sure what is the best way to<br>> handle this header file problem.<br>><br>> I'm
 running Ubuntu 12.04.<br>><br>> Thank you.<br>><br>> _______________________________________________<br>> cfe-dev mailing list<br>> <a ymailto="mailto:cfe-dev@cs.uiuc.edu" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>><br><br><br> </div> </div>  </div></body></html>