<div dir="auto">Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On 22 Oct 2018 17:18, "Lou Wynn" <<a href="mailto:lewisurn@gmail.com">lewisurn@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">This is what I used:</font></p>
<p><tt>cmake -GNinja ../llvm-project/llvm
-DLLVM_ENABLE_PROJECTS="clang;<wbr>libcxx;libcxxabi"
-DLLVM_OPTIMIZED_TABLEGEN=true -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-<wbr>6.0
-DLLVM_USE_LINKER=lld-6.0 -DLLVM_TARGETS_TO_BUILD="X86"
-DBUILD_SHARED_LIBS=ON</tt></p>
<p><br>
</p>
<pre class="m_6634223866810007264moz-signature" cols="72">Love,
Lou
</pre>
<div class="m_6634223866810007264moz-cite-prefix">On 10/22/18 11:14 PM, Kristóf Umann
wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">Actually, how did you configure cmake? I
experienced similar linker errors when building other external
projects, and I suspect it might be down to using a different
setup.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 22 Oct 2018 14:19, "Kristóf Umann"
<<a href="mailto:dkszelethus@gmail.com" target="_blank">dkszelethus@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Cheers, glad it's solved!<br>
<div class="gmail_quote">
<div dir="ltr">Lou Wynn <<a href="mailto:lewisurn@gmail.com" target="_blank">lewisurn@gmail.com</a>>
ezt írta (időpont: 2018. okt. 22., H, 14:16):<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Nice, adding clangFrontend works!
The tutorial needs an update.</font></p>
</div>
</blockquote>
<div>Yup, let's do it then. ;) </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Thanks.</font><br>
</p>
<pre class="m_6634223866810007264m_-1451677776424910839m_-9003988622945461128moz-signature" cols="72">Love,
Lou</pre>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_6634223866810007264m_-1451677776424910839m_-9003988622945461128moz-cite-prefix">On
10/22/18 8:06 PM, Kristóf Umann wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Shouldn't it be this?:
<div><font face="monospace, monospace">set(LLVM_LINK_COMPONENTS
Support)<br>
<br>
add_clang_executable(loop-conv<wbr>ert<br>
LoopConvert.cpp<br>
)<br>
target_link_libraries(loop-con<wbr>vert<br>
PRIVATE</font></div>
<div><font face="monospace, monospace">
clangFrontend<br>
clangTooling<br>
clangBasic<br>
clangASTMatchers<br>
) </font><br>
</div>
</div>
<br>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote></div></div>