[Mesa-dev] Problem with ___glapi_noop_table

Shervin Sharifi shervin0 at gmail.com
Mon May 18 14:07:10 PDT 2015

Hi Brian,
 Thanks for your response.

 I downloaded version 10.5.5 sources from
ftp://ftp.freedesktop.org/pub/mesa/. I just unzipped the files and put them
in a folder.
 I have previously built llvm3.4 before (I've used it with previous
versions of mesa).
 Here is the command line I'm using in mingw's msys (that's why the address
doesn't look like C:\llvm34\...):
$ LLVM=/c/llvm34 /c/Python27/Scripts/scons.py llvm=1 gles=1
platform=windows libgl-gdi gallium egl-gallium

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).



$ LLVM=/c/llvm34 /c/Python27/Scripts/scons.py llvm=1 gles=1
platform=windows libgl-gdi gallium egl-gallium
scons: Reading SConscript files ...
Checking for MSVC ...  yes
scons: Found LLVM version 3.4svn
Checking for X11 (x11 xext xdamage xfixes glproto >= 1.4.13)... no
Checking for XCB (x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8)... no
Checking for XF86VIDMODE (xxf86vm)... no
Checking for DRM (libdrm >= 2.4.38)... no
Checking for UDEV (libudev >= 151)... no
scons: done reading SConscript files.
scons: Building targets ...
  Linking build\windows-x86-debug\mapi\shared-glapi\libglapi.dll ...
   Creating library build\windows-x86-debug\mapi\shared-glapi\libglapi.lib
and object build\windows-x86-debug\mapi\shared-glapi\libglapi.exp
scons: `gallium' is up to date.
  Linking build\windows-x86-debug\mapi\vgapi\libOpenVG.dll ...
   Creating library build\windows-x86-debug\mapi\vgapi\libOpenVG.lib and
object build\windows-x86-debug\mapi\vgapi\libOpenVG.exp
  Linking build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll ...
  Linking build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll ...
   Creating library
build\windows-x86-debug\gallium\targets\egl-static\libEGL.lib and object
build\windows-x86-debug\ g a lClrieuamt\itnagr gleitbsr\aergyl
debug\gallium\targets\libgl-gdi\opengl32.lib and object
mesa.lib(context.obj) : error LNK2001: unresolved external symbol
build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll : fatal error
LNK1120: 1 unresolved externals
mesa.lib(context.obj) : error LNK2001: unresolved external symbol
build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll : fatal
error LNK1120: 1 unresolved externals
scons: *** [build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll]
Error 1120
scons: *** [build\windows-x86-debug\gallium\targets\libgl-gdi\opengl32.dll]
Error 1120
scons: building terminated because of errors.

On Fri, May 15, 2015 at 8:00 AM, Brian Paul <brianp at vmware.com> wrote:

> On 05/14/2015 11:26 AM, Shervin Sharifi wrote:
>> Hi,
>>   I am trying to build Mesa for OpenGL ES (with llvmpipe) under windows
>> with MSVC.
>>   I'm getting an error due to an unresolved external symbol
>> (___glapi_noop_table).
>> There is no definition of ___glapi_noop_table in the code.
>>   Am I missing something?
>>   Here is the configuration I'm using:
>> LLVM=C:\llvm34 scons.py gles=yes llvm=yes platform=windows libgl-gdi
>> gallium egl-gallium
>> Didn't have this problem with version 10.4.x.
> You're building Mesa from git/master?
> I haven't seen this problem.  I tried your config, but I get an error:
> scons: *** Do not know how to make File target 'egl-gallium'
> (C:\Users\Brian\projects\mesa\egl-gallium). Stop.
> -Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150518/06e3030d/attachment.html>

More information about the mesa-dev mailing list