[Mesa-dev] Problem with LLVM on Windows with MSVC

Jose Fonseca jfonseca at vmware.com
Thu Apr 9 12:29:47 PDT 2015


Please read http://mesa3d.org/llvmpipe.html , "Requirements" sections. 
It's explained there how to tell which runtime to use when building LLVM.


That said, you probably want to pass build=release to scons command. As 
SCons defaults to debug build.


   scons build=release ...

Jose

On 09/04/15 00:56, Shervin Sharifi wrote:
> Hi,
>
>   I'm trying to build mesa on windows (MSVC) with gles support and with
> llvm.
>   Here are the keys I'm using:
> scons.py gles=yes llvm=yes platform=windows libgl-gd



>
>   I'm getting a bunch of errors like this:
>
> LLVMCore.lib(ValueSymbolTable.obj) : error LNK2038: mismatch detected
> for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value
> 'MTd_StaticDebug' in mesa.lib(uniform_query.obj)
>
> I understand that this is due to mismatch between the runtime libraries,
> but I don't know how to fix it.
> Should I change the CRT in llvm or in mesa? How should I do that?
>
>   Thanks,
>       Shervin
>
>
>
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=zfmBZnnVGHeYde45pMKNnVyzeaZbdIqVLprmZCM2zzE&m=KTTb8Ykw0ja-wsBAAPvp7jv_sppo7ThcnDLxHaXB7s8&s=oc-YGazUbTj3OrCR3n8zLns2F3oa2KLKHl-G7ocuu6U&e=
>



More information about the mesa-dev mailing list