[Mesa-users] Building Failure On Windows With Scons

Νίκος Μπαμπαλιάρης babaliaris.nikos at gmail.com
Mon Aug 13 17:07:42 UTC 2018


My Specs:
Windows 10 64 bit.
Python 3.7 and latest Scons.

Scons Version:
 script: v3.0.1.74b2c53bc42290e911b334a6b44f187da698a668, 2017/11/14
13:16:53, by bdbaddog on hpmicrodog
        engine: v3.0.1.74b2c53bc42290e911b334a6b44f187da698a668,
2017/11/14 13:16:53, by bdbaddog on hpmicrodog
        engine path: ['e:\\program files
(x86)\\python\\lib\\site-packages\\scons-3.0.1\\SCons']


Output of scons for building mesa:
----------------------------------------------
C:\Users\babaliaris\Downloads\mesa-18.2.0-rc2>scons
scons: Reading SConscript files ...
TypeError: a bytes-like object is required, not 'str':
  File "C:\Users\babaliaris\Downloads\mesa-18.2.0-rc2\SConstruct", line 46:
    ENV = os.environ,
  File "e:\program files
(x86)\python\lib\site-packages\scons-3.0.1\SCons\Environment.py", line
982:
    apply_tools(self, tools, toolpath)
  File "e:\program files
(x86)\python\lib\site-packages\scons-3.0.1\SCons\Environment.py", line
107:
    env.Tool(tool)
  File "e:\program files
(x86)\python\lib\site-packages\scons-3.0.1\SCons\Environment.py", line
1789:
    tool(self)
  File "e:\program files
(x86)\python\lib\site-packages\scons-3.0.1\SCons\Tool\__init__.py",
line 298:
    self.generate(env, *args, **kw)
  File "C:\Users\babaliaris\Downloads\mesa-18.2.0-rc2\scons\gallium.py",
line 216:
    env['msvc'] = check_cc(env, 'MSVC', 'defined(_MSC_VER)', '/E')
  File "C:\Users\babaliaris\Downloads\mesa-18.2.0-rc2\scons\gallium.py",
line 134:
    source.write('#if !(%s)\n#error\n#endif\n' % expr)
  File "E:\Program Files (x86)\Python\lib\tempfile.py", line 481:
    return func(*args, **kwargs)
Checking for MSVC ...
C:\Users\babaliaris\Downloads\mesa-18.2.0-rc2>


More information about the mesa-users mailing list