[cfe-dev] Unable to compile CUDA with clang++
Jingyue Wu via cfe-dev
cfe-dev at lists.llvm.org
Thu Jan 28 07:39:01 PST 2016
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.
On Thu, Jan 28, 2016 at 1:25 AM, Prateek Khandelwal via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Hello All,
>
> I was following the steps mentioned at
>
> http : // llvm.org/docs/CompileCudaWithLLVM.html
>
> for compiling a cuda code with clang++, however, I the compilation is
> not going through and clang++ throws up an error saying it cannot find
> 'fstream', which happens to be a standard library.
>
> I tried compiling a dummy cpp code with clang including the same
> library, and this compilation passes smoothly.
>
> I have posted a detailed query about the same on stackoverflow too,(
> https: //
>
> stackoverflow.com/questions/35057116/unable-to-locate-standard-c-libraries-while-compiling-with-clang-and-cuda-sd
> )
>
> Any pointers would help.
>
> Regards,
> Prateek Khandelwal
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160128/87589799/attachment.html>
More information about the cfe-dev
mailing list