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

2015-04-10 Thread Jose Fonseca
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

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

2015-04-10 Thread Shervin Sharifi
> > > *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

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

2015-04-09 Thread Jose Fonseca
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

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

2015-04-09 Thread Shervin Sharifi
Thank you. I have compiled llvm with /MDd options, but Mesa doesn't accept that and asks for /MTd. So I compiled llvm with /MTd and it worked. However, I prefer to change Mesa to dynamic option, but I don't know how to do that. I tried the following, but got another error: The only thing I found i

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

2015-04-09 Thread Predut, Marius
Indeed seems you have some incompatible libraries (one build static and other dynamic –dll) https://bugzilla.mozilla.org/show_bug.cgi?id=732124 but what suppose `libgl-gd' target? Is this a typo mismatch? Try to build llvm in a dynamic mode , may be it will solve your problems marius From:

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

2015-04-09 Thread Olivier PENA
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 M