<div dir="ltr"><div>Might be a problem with cmake settings; what cmake command line did you use? The one I found to work is</div><div><br></div><div>\CMake\bin\cmake.exe -DLLVM_USE_CRT_DEBUG=MTd -DLLVM_USE_CRT_RELEASE=MT -DPYTHON_EXECUTABLE=C:\Python27\python.exe -G "Visual Studio 12 Win64" .. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 9:23 AM, Amy White <span dir="ltr"><<a href="mailto:red45dragon@gmail.com" target="_blank">red45dragon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, All,<br><br></div>I follow the menu <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_GettingStartedVS.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=Tw1eUQPpvYOtnYfzc0sce7mipLn-u_yqwcUJYV_Ku1k&s=hps3Z8xOCBTYSAI49gYiCh-243IBgIcauc01_ve0Mts&e=" target="_blank">http://llvm.org/docs/GettingStartedVS.html</a> , but still failed to build LLVM debug version.<br><br><div><div>Here's error message:<br>7>C:\study\llvm\projects\compiler-rt\lib\asan\asan_win.cc(69): fatal error C1189: #error :  Please build the runtime with a non-debug CRT: /MD or /MT<br><br></div><div>Any idear?<br><br>--<br></div><div>Best Regards,<br></div><div>Amy<br></div></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>