<div dir="ltr">Hi<br><table style="margin:0px;padding:0px;border:0px;font-size:13px;vertical-align:baseline;border-collapse:collapse;border-spacing:0px;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:12px">
<tbody style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><tr style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><td class="" style="padding:0px;border:0px;vertical-align:baseline;background-color:transparent">
<br></td></tr></tbody></table><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">I followed the steps at <a href="http://llvm.org/docs/GettingStarted.html">http://llvm.org/docs/GettingStarted.html</a> - which completed successfully. I performed the svn checkouts into my home directory, so my structure looks like</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">~/llvmHome/llvm/<souce code is here></span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">~/llvmHome/build/Debug+Asserts/bin/<clang++ executables etc are here></span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">I'm attempting to follow the steps on <a href="http://llvm.org/docs/tutorial/LangImpl3.html">http://llvm.org/docs/tutorial/LangImpl3.html</a> to build the example.</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">cd ~/llvmHom/llvm/examples/Kaleidoscope/Chapter3 //so I'm where I checked out the source code</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">clang++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core -stdlib=libc++` -o toy</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">Which gives errors (up to first one)</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">In file included from toy.cpp:2:</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">In file included from /usr/local/include/llvm/IR/DerivedTypes.h:21:</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">In file included from /usr/local/include/llvm/IR/Type.h:19:</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">In file included from /usr/local/include/llvm/ADT/APFloat.h:20:</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">In file included from /usr/local/include/llvm/ADT/APInt.h:19:</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">In file included from /usr/local/include/llvm/ADT/ArrayRef.h:14:</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">/usr/local/include/llvm/ADT/SmallVector.h:187:15: error: no member named 'move' in namespace 'std'; did you mean simply 'move'?</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">      *Dest = ::std::move(*I);</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">              ^~~~~~~</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">I'm not sure how how to debug this further, any ideas on what I'm getting incorrect?</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">I also posted the question on stackoverflow: <a href="http://stackoverflow.com/questions/22149118/building-llvm-examples">http://stackoverflow.com/questions/22149118/building-llvm-examples</a></span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">And I hope this is an Ok use of the mailing list, please let me know if it is not the sort of query to raise here!</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px"><br>
</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">Thanks</span></font><font color="#000000" face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="line-height:12px">Brent Gracey</span></font></div>