<div dir="ltr">Can you try the "trunk" version instead of 3.7.1? It's still under development, so the trunk version works the best. I will make that clear in the doc. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 28, 2016 at 1:25 AM, Prateek Khandelwal via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
I was following the steps mentioned at<br>
<br>
http : // <a href="http://llvm.org/docs/CompileCudaWithLLVM.html" rel="noreferrer" target="_blank">llvm.org/docs/CompileCudaWithLLVM.html</a><br>
<br>
for compiling a cuda code with clang++, however, I the compilation is<br>
not going through and clang++ throws up an error saying it cannot find<br>
'fstream', which happens to be a standard library.<br>
<br>
I tried compiling a dummy cpp code with clang including the same<br>
library, and this compilation passes smoothly.<br>
<br>
I have posted a detailed query about the same on stackoverflow too,(<br>
https: //<br>
<a href="http://stackoverflow.com/questions/35057116/unable-to-locate-standard-c-libraries-while-compiling-with-clang-and-cuda-sd" rel="noreferrer" target="_blank">stackoverflow.com/questions/35057116/unable-to-locate-standard-c-libraries-while-compiling-with-clang-and-cuda-sd</a>)<br>
<br>
Any pointers would help.<br>
<br>
Regards,<br>
Prateek Khandelwal<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>