<div dir="ltr">I checked your CMakeError.log again. The .h include files it is marking as missing are not LLVM include files, but are OS-related (e.g., malloc/malloc.h), and in some cases appear to be potentially Linux ones (dlfcn.h, sys/ioctl, malloc_np.h). I can't imagine why your build might be looking for Linux as opposed to Windows include files. That could be a clue to your problem.<div><br></div><div>You said you installed the latest version of GCC before this attempt. This confuses me further, since you are using Visual Studio to build with, and that makes no use of GCC. In fact, honestly I am wondering if your GCC implementation libraries are somehow in your search path wrt environment variables, and your build is actually trying to use the GNU/Linux header files rather than the VS Windows header files, which would certainly blow it up. Again, I am no expert here, so I don't have a definite answer, but based on what little I know, this setup doesn't sound safe. Maybe get rid of GCC completely, as I am not sure when/how you would even use it on the Windows side.</div><div><br></div><div>Similarly, I don't believe Perl has anything to do with this either, as neither CMake nor VS make any use of it. But I can't imagine it causing any problems for you to have it.</div><div><br></div><div>I don't know anything about <span style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:16px">Backtrace, Libomp, Compiler-RT, so I cannot help you there. As we have discussed before, the source for clang and lld go into the llvm source folder's "tools" folder by those names. If they are there, after the configure step of the CMake-Gui, options will automatically appear for both clang and lld. You will want to mouse click the checkbox next to CLANG_BUILD_TOOLS and LLD_BUILD_TOOLS prior to hitting the generate button.</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:16px">Sorry I don't know more than that, but hopefully that will help some ... and then others can chime in if they know more about this than me.</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 29, 2018 at 2:52 PM Osman Zakir via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<span>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size-adjust:none;font-stretch:100%;margin-bottom:0px;margin-top:0px">
<span style="font-size-adjust:none;font-stretch:100%;margin-bottom:0px;margin-top:0px">I tried to configure CMake for LLVM using the GUI and I've attached the logs for the attempt to this message. I installed Perl and the latest version of GCC before
that attempt. There were still errors that stopped it from being able to generate project files, though. </span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size-adjust:none;font-stretch:100%;margin-bottom:0px;margin-top:0px">
<span style="font-size-adjust:none;font-stretch:100%;margin-bottom:0px;margin-top:0px"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size-adjust:none;font-stretch:100%;margin-bottom:0px;margin-top:0px">
<span style="font-size-adjust:none;font-stretch:100%;margin-bottom:0px;margin-top:0px">I'd like to know how I can get this to work. How do I tell it where to find Backtrace, Libomp, Compiler-RT, LLD and Clang? And where exactly is Backtrace? I copy-pasted
the locations for the stuff I checked out for LLVM, so I'm not really sure where the stuff I need to put into CMake for Compiler-RT, Backtrace and Libomp is (it's where it should be, that's all I know). </span></div>
<br>
</span></div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<span></span></div>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>