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@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=


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to