[LLVMdev] Fail to build LLVM release_36 in MSVC 2013

Russell Wallace russell.wallace at gmail.com
Fri Jul 17 08:59:59 PDT 2015


Might be a problem with cmake settings; what cmake command line did you
use? The one I found to work is

\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" ..

On Fri, Jul 17, 2015 at 9:23 AM, Amy White <red45dragon at gmail.com> wrote:

> Hi, All,
>
> I follow the menu http://llvm.org/docs/GettingStartedVS.html
> <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=>
> , but still failed to build LLVM debug version.
>
> Here's error message:
> 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
>
> Any idear?
>
> --
> Best Regards,
> Amy
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150717/a9db457d/attachment.html>


More information about the llvm-dev mailing list