[Scons-users] Mesa3D graphics library build failure when using Scons 3.0.3 and newer on Windows with Visual Studio 2017, Scons 3.0.1 is unaffected.

Liviu Prodea liviuprodea at yahoo.com
Sat Feb 16 15:37:01 EST 2019


 It appears that Mesa3D scons build doesn't support development version of Scons, so running Scons directly from source doesn't work. "Fortunately" the missing include error happens fast enough to be able to include the whole build script output in this e-mail:
The following Python versions were detected:
1. Python 2.7

Note: Experimental /enablemeson command-line argument is not set. We won't attempt to build Mesa3D if you pick any of the folowing Python versions:

7. Python 3.7

Select Python version by entering its index from the table above:1

Using Python 2.7.15 from C:\Software\DEVELO~1\projects\mesa\Python\python.exe.

Requirement already up-to-date: pip in c:\software\develo~1\projects\mesa\python\lib\site-packages (19.0.2)

Requirement already up-to-date: setuptools in c:\software\develo~1\projects\mesa\python\lib\site-packages (40.8.0)

Collecting scons
  Downloading https://files.pythonhosted.org/packages/13/31/43b96f5b79731468a6731e4dbc71601f67fdeddad053bd4f1d1e2f0dbeec/scons-3.0.4-py2.py3-none-any.whl (829kB)
    100% |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU| 839kB 652kB/s
Installing collected packages: scons
Successfully installed scons-3.0.4

Install/update python packages (y/n):


Do you want to throttle build. Enter number of parallel jobs. Defaults to 4 which represents the number of your CPU available hyperthreads. You should not enter a value greater than that:3

Begin LLVM build. Only needs to run once for each ABI and version. Proceed (y/n):

Using CRT MT Release...


Begin mesa build. Proceed (y/n):y

Build Mesa without LLVM (y/n). llvmpipe and swr drivers and high performance JIT won't be available for other drivers and libraries:y

Build Mesa3D with OpenMP. Faster build and smaller binaries (y/n):

Do you want to build Mesa with quick configuration - includes libgl-gdi, graw-gdi, graw-null, tests, osmesa and shared glapi and shared GLES libraries if glapi is a shared library:

Do you want to build off-screen rendering drivers (y/n):

Do you want to build graw library (y/n):

Do you want to clean build (y/n):y


**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.7
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64_x86'

Build command: C:\Software\DEVELO~1\projects\mesa\Python\python.exe C:\Software\DEVELO~1\projects\mesa\Python\Scripts\scons -j3 build=release platform=windows machine=x86 MSVC_USE_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" llvm=no libgl-gdi

scons: Reading SConscript files ...
Checking for MSVC ...  yes
Checking for Clang ...  no
Checking for win_flex ...  yes
Checking for win_bison ...  yes
Checking for X11 (x11 xext xdamage >= 1.1 xfixes glproto >= 1.4.13 dri2proto >= 2.8)... 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.75)... no
Checking for Python Mako module (>= 0.8.0)... yes
warning: LLVM disabled: not building llvmpipe
scons: done reading SConscript files.
scons: Building targets ...
  Compiling src\gallium\targets\libgl-gdi\libgl_gdi.c ...
libgl_gdi.c
  Compiling src\gallium\state_trackers\wgl\stw_context.c ...
  Compiling src\gallium\state_trackers\wgl\stw_device.c ...
stw_context.c
stw_device.c
  Compiling src\gallium\state_trackers\wgl\stw_ext_context.c ...
  Compiling src\gallium\state_trackers\wgl\stw_ext_extensionsstring.c ...
  Compiling src\gallium\state_trackers\wgl\stw_ext_pbuffer.c ...
stw_ext_context.c
stw_ext_extensionsstring.c
stw_ext_pbuffer.c
  Compiling src\gallium\state_trackers\wgl\stw_ext_pixelformat.c ...
  Compiling src\gallium\state_trackers\wgl\stw_ext_rendertexture.c ...
  Compiling src\gallium\state_trackers\wgl\stw_ext_swapinterval.c ...
stw_ext_pixelformat.c
stw_ext_rendertexture.c
stw_ext_swapinterval.c
  Compiling src\gallium\state_trackers\wgl\stw_framebuffer.c ...
  Compiling src\gallium\state_trackers\wgl\stw_getprocaddress.c ...
  Compiling src\gallium\state_trackers\wgl\stw_nopfuncs.c ...
stw_framebuffer.c
stw_getprocaddress.c
stw_nopfuncs.c
  Compiling src\gallium\state_trackers\wgl\stw_pixelformat.c ...
  Compiling src\gallium\state_trackers\wgl\stw_st.c ...
  Compiling src\gallium\state_trackers\wgl\stw_tls.c ...
stw_pixelformat.c
stw_tls.c
stw_st.c
  Compiling src\gallium\state_trackers\wgl\stw_wgl.c ...
  Compiling src\gallium\winsys\sw\gdi\gdi_sw_winsys.c ...
stw_wgl.c
gdi_sw_winsys.c
  Generating build\windows-x86\mapi\glapi\glapitemp.h ...
  Archiving build\windows-x86\gallium\state_trackers\wgl\wgl.lib ...
  Archiving build\windows-x86\gallium\winsys\sw\gdi\ws_gdi.lib ...
  Compiling src\mapi\glapi\glapi_entrypoint.c ...
glapi_entrypoint.c
  Compiling src\mapi\glapi\glapi.c ...
glapi.c
  Compiling src\mapi\u_current.c ...
u_current.c
  Compiling src\mapi\u_execmem.c ...
u_execmem.c
  Compiling src\compiler\blob.c ...
  Compiling src\mapi\glapi\glapi_nop.c ...
blob.c
glapi_nop.c
  Generating build\windows-x86\mapi\glapi\glprocs.h ...
  Compiling src\compiler\shader_enums.c ...
shader_enums.c
  Compiling src\mesa\main\accum.c ...
accum.c
  Compiling src\mesa\main\arbprogram.c ...
arbprogram.c
  Generating build\windows-x86\mesa\main\api_exec.c ...
  Compiling src\mesa\main\arrayobj.c ...
  Compiling src\mesa\main\atifragshader.c ...
arrayobj.c
atifragshader.c
  Compiling build\windows-x86\mesa\main\api_exec.c ...
api_exec.c
  Generating build\windows-x86\compiler\glsl\ir_expression_operation.h ...
  Compiling src\mesa\main\attrib.c ...
  Compiling src\compiler\glsl_types.cpp ...
attrib.c
glsl_types.cpp
C:\Software\DEVELO~1\projects\mesa\mesa\src\compiler/nir/nir.h(49): fatal error C1083: Cannot open include file: 'nir_opcodes.h': No such file or directory
scons: *** [build\windows-x86\mesa\main\api_exec.obj] Error 2
scons: building terminated because of errors.


Create or update Mesa3D distribution package (y/n):
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190216/56224203/attachment-0001.html>


More information about the Scons-users mailing list