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'
>
>
> *From:* Shervin Sharifi [mailto:sherv...@gmail.com]
> *Sent:* Thursday, April 09, 2015 8:45 PM
> *To:* Predut, Marius
> *Cc:* mesa-dev@lists.freedesktop.org
> *Subject:* Re: [Mesa-dev] Problem with LLVM on Windows with MSVC
>
>
>
> Thank you.
>
> I have compi
I suspect that when you built LLVM, you built with the Debug build type
instead of Release. That's why you need LLVM_USE_CRT_DEBUG= instead of
LLVM_USE_CRT_RELEASE=. But I don't recommend you use a Debug LLVM
build, it can be much slower.
To be safe, I could update the instructions to menti
From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On Behalf Of
Shervin Sharifi
Sent: Thursday, April 09, 2015 2:57 AM
To: mesa-dev@lists.freedesktop.org
Subject: [Mesa-dev] Problem with LLVM on Windows with MSVC
Hi,
I'm trying to build mesa on windows (MSVC) with gles suppor
Hi,
Try use llvm cmake options :
LLVM_USE_CRT_DEBUG=MTd
LLVM_USE_CRT_RELEASE =MT
De : mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] De la part de
Shervin Sharifi
Envoyé : jeudi 9 avril 2015 01:57
À : mesa-dev@lists.freedesktop.org
Objet : [Mesa-dev] Problem with LLVM on Windows with
-gd' target? Is this a typo mismatch?
>
> Try to build llvm in a dynamic mode , may be it will solve your problems
>
>
>
> marius
>
>
>
>
>
> *From:* mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] *On
> Behalf Of *Shervin Sharifi
> *Sent:* Thu
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/1