<div dir="ltr">Hi Brian,<div> Thanks for your response. </div><div><br></div><div> I downloaded version 10.5.5 sources from <a href="ftp://ftp.freedesktop.org/pub/mesa/">ftp://ftp.freedesktop.org/pub/mesa/</a>. I just unzipped the files and put them in a folder. </div><div> I have previously built llvm3.4 before (I've used it with previous versions of mesa).</div><div> Here is the command line I'm using in mingw's msys (that's why the address doesn't look like C:\llvm34\...):</div><div>$ LLVM=/c/llvm34 /c/Python27/Scripts/scons.py llvm=1 gles=1 platform=windows libgl-gdi gallium egl-gallium<br></div><div> </div><div>I've included the output I get in case you would like to take a look (I've put the output of second build to skip unnecessary messages).</div><div><br></div><div>Thanks, </div><div> Shervin</div><div><br></div><div><br></div><div><br></div><div>-----------------------------------</div><div><br></div><div><div>$ LLVM=/c/llvm34 /c/Python27/Scripts/scons.py llvm=1 gles=1 platform=windows libgl-gdi gallium egl-gallium</div><div>scons: Reading SConscript files ...</div><div>Checking for MSVC ... yes</div><div>scons: Found LLVM version 3.4svn</div><div>Checking for X11 (x11 xext xdamage xfixes glproto >= 1.4.13)... no</div><div>Checking for XCB (x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8)... no</div><div>Checking for XF86VIDMODE (xxf86vm)... no</div><div>Checking for DRM (libdrm >= 2.4.38)... no</div><div>Checking for UDEV (libudev >= 151)... no</div><div>scons: done reading SConscript files.</div><div>scons: Building targets ...</div><div> Linking build\windows-x86-debug\mapi\shared-glapi\libglapi.dll ...</div><div> Creating library build\windows-x86-debug\mapi\shared-glapi\libglapi.lib and object build\windows-x86-debug\mapi\shared-glapi\libglapi.exp</div><div>scons: `gallium' is up to date.</div><div> Linking build\windows-x86-debug\mapi\vgapi\libOpenVG.dll ...</div><div> Creating library build\windows-x86-debug\mapi\vgapi\libOpenVG.lib and object build\windows-x86-debug\mapi\vgapi\libOpenVG.exp</div><div> Linking build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll ...</div><div> Linking build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll ...</div><div> Creating library build\windows-x86-debug\gallium\targets\egl-static\libEGL.lib and object build\windows-x86-debug\ g a lClrieuamt\itnagr gleitbsr\aergyl -bsutialtdi\cw\ilnidboEwGsL-.xe8x6p-</div><div>debug\gallium\targets\libgl-gdi\opengl32.lib and object build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.exp</div><div>mesa.lib(context.obj) : error LNK2001: unresolved external symbol ___glapi_noop_table</div><div>build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll : fatal error LNK1120: 1 unresolved externals</div><div>mesa.lib(context.obj) : error LNK2001: unresolved external symbol ___glapi_noop_table</div><div>build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll : fatal error LNK1120: 1 unresolved externals</div><div>scons: *** [build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll] Error 1120</div><div>scons: *** [build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll] Error 1120</div><div>scons: building terminated because of errors.</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 8:00 AM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 05/14/2015 11:26 AM, Shervin Sharifi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am trying to build Mesa for OpenGL ES (with llvmpipe) under windows<br>
with MSVC.<br>
<br>
I'm getting an error due to an unresolved external symbol<br>
(___glapi_noop_table).<br>
There is no definition of ___glapi_noop_table in the code.<br>
Am I missing something?<br>
Here is the configuration I'm using:<br>
LLVM=C:\llvm34 scons.py gles=yes llvm=yes platform=windows libgl-gdi<br>
gallium egl-gallium<br>
Didn't have this problem with version 10.4.x.<br>
</blockquote>
<br></div></div>
You're building Mesa from git/master?<br>
<br>
I haven't seen this problem. I tried your config, but I get an error:<br>
<br>
scons: *** Do not know how to make File target 'egl-gallium' (C:\Users\Brian\projects\mesa\egl-gallium). Stop.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Brian<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>