Hello, Could someone please tell me why LLVM and clang downloaded from here: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvmsvn co http://llvm.org/svn/llvm-project/cfe/trunk clang and generated using cmake: cmake -G "Visual Studio 15 2017" ../llvm does not compile in Visual Studio? I am using Batch Build in Visual Studio and I have selected only ALL_BUILD project to build as required in step 7 from here. | | | Getting Started with the LLVM System using Microsoft Visual Studio — LLVM 5 documentation | | | Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170605/27e65271/attachment.html>
Last I'd heard, LLVM and clang didn't compile with Visual Studio 2017. 2015 should work though. It's also helpful to include the error messages you're getting, so that we can pinpoint any specific issues you might be running into. From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Iulia Stirb via llvm-dev <llvm-dev at lists.llvm.org> Reply-To: Iulia Stirb <iulia_s24 at yahoo.com> Date: Monday, June 5, 2017 at 10:08 AM To: via Llvm-dev <llvm-dev at lists.llvm.org> Subject: [llvm-dev] Build problems Hello, Could someone please tell me why LLVM and clang downloaded from here: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm svn co http://llvm.org/svn/llvm-project/cfe/trunk clang and generated using cmake: cmake -G "Visual Studio 15 2017" ../llvm does not compile in Visual Studio? I am using Batch Build in Visual Studio and I have selected only ALL_BUILD project to build as required in step 7 from here<https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_GettingStartedVS.html&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=YCOje6Njp6UPC9rJ8A-aNLyqpFOSc9XEqCLXA1lagGE&s=hxid-NMgm8AnhFqG1JKqD3ifCntY2AHOnHkW35hSNFU&e=>. Getting Started with the LLVM System using Microsoft Visual Studio — LLVM 5 documentation Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170605/6e91f43a/attachment.html>
Visual Studio 2017 works fine (I know because I personally made the changes to clang to get it working a few months ago ;-) Also, I use it every day. But I don't build from inside the IDE, only from Ninja. But yea, seeing the error messages would help. On Mon, Jun 5, 2017 at 10:21 AM Shoaib Meenai via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Last I'd heard, LLVM and clang didn't compile with Visual Studio 2017. > 2015 should work though. > > > > It's also helpful to include the error messages you're getting, so that we > can pinpoint any specific issues you might be running into. > > > > *From: *llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Iulia > Stirb via llvm-dev <llvm-dev at lists.llvm.org> > *Reply-To: *Iulia Stirb <iulia_s24 at yahoo.com> > *Date: *Monday, June 5, 2017 at 10:08 AM > *To: *via Llvm-dev <llvm-dev at lists.llvm.org> > *Subject: *[llvm-dev] Build problems > > > > Hello, > > > > Could someone please tell me why LLVM and clang downloaded from here: > > > > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > > svn co http://llvm.org/svn/llvm-project/cfe/trunk clang > > > > and generated using cmake: > > > > cmake -G "Visual Studio 15 2017" ../llvm > > > > does not compile in Visual Studio? > > > > I am using Batch Build in Visual Studio and I have selected only ALL_BUILD > project to build as required in step 7 from here > <https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_GettingStartedVS.html&d=DwMFaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=YCOje6Njp6UPC9rJ8A-aNLyqpFOSc9XEqCLXA1lagGE&s=hxid-NMgm8AnhFqG1JKqD3ifCntY2AHOnHkW35hSNFU&e=> > . > > > Getting Started with the LLVM System using Microsoft Visual Studio — LLVM > 5 documentation > > > > Thank you. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170605/591b9fcf/attachment.html>