<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span>I tried the Meson Windows branch posted by Dylan Baker now available on Freedesktop Gitlab with default configuration but unfortunately it didn't work for me.<br><br>Build script<br>************<br><br>@set mesa=C:\Software\Development\projects\mesa<br>@SET PATH=C:\Software\Development\Git\cmd\;%mesa%\Python\;%mesa%\Py3\;%mesa%\Py3\Scripts\;%mesa%\flexbison\;%mesa%\ninja\;%mesa%\pkgconfig\;%PATH%<br>@call "%ProgramFiles% (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64<br>@cd %mesa%\mesa<br>@set buildcmd=%mesa%\Py3\python.exe %mesa%\Py3\Scripts\meson.py . .\build\windows-x86_64<br>@RD /S /Q %mesa%\mesa\build\windows-x86_64<br>@%buildcmd%<br>@cmd<br><br>Result<br>******<br><br>**********************************************************************<br>** Visual Studio 2017 Developer Command Prompt v15.7.4<br>** Copyright (c) 2017 Microsoft Corporation<br>**********************************************************************<br>[vcvarsall.bat] Environment initialized for: 'x64'<br>The Meson build system<br>Version: 0.46.1<br>Source dir: C:\Software\Development\projects\mesa\mesa<br>Build dir: C:\Software\Development\projects\mesa\mesa\build\windows-x86_64-sys<br>Build type: native build<br>Program python found: YES (C:\Software\Development\projects\mesa\Python\python.EXE)<br>Project name: mesa<br>Native C compiler: cl (msvc 19.14.26431)<br>Native C++ compiler: cl (msvc 19.14.26431)<br>Build machine cpu family: x86_64<br>Build machine cpu: x86_64<br>Program pkg-config found: YES (C:\Software\Development\projects\mesa\pkgconfig\pkg-config.EXE)<br>Program python2 found: NO<br>Program python found: YES (C:\Software\Development\projects\mesa\Python\python.EXE)<br>Checking for function "bswap32": NO<br>Checking for function "bswap64": NO<br>Checking for function "clz": NO<br>Checking for function "clzll": NO<br>Checking for function "ctz": NO<br>Checking for function "expect": NO<br>Checking for function "ffs": NO<br>Checking for function "ffsll": NO<br>Checking for function "popcount": NO<br>Checking for function "popcountll": NO<br>Checking for function "unreachable": NO<br>Checking if "__attribute__((const))" compiles: NO<br>Checking if "__attribute__((flatten))" compiles: NO<br>Checking if "__attribute__((malloc))" compiles: NO<br>Checking if "__attribute__((pure))" compiles: NO<br>Checking if "__attribute__((unused))" compiles: NO<br>Checking if "__attribute__((warn_unused_result))" compiles: NO<br>Checking if "__attribute__((weak))" compiles: NO<br>Checking if "__attribute__((format(...)))" compiles: NO<br>Checking if "__attribute__((packed))" compiles: NO<br>Checking if "__attribute__((returns_nonnull))" compiles: NO<br>Checking if "__attribute__((visibility(...)))" compiles: NO<br>Checking if "__attribute__((alias(...)))" compiles: NO<br>Checking if "__attribute__((__noreturn__))" compiles: NO<br>Compiler for C supports arguments /wd4018: YES<br>Traceback (most recent call last):<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\compilers\compilers.py", line 799, in compile<br>    raise StopIteration<br>StopIteration<br><br>The above exception was the direct cause of the following exception:<br><br>Traceback (most recent call last):<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\mesonmain.py", line 364, in run<br>    app.generate()<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\mesonmain.py", line 135, in generate<br>    self._generate(env)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\mesonmain.py", line 186, in _generate<br>    intr.run()<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreter.py", line 3261, in run<br>    super().run()<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 215, in run<br>    self.evaluate_codeblock(self.ast, start=1)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 239, in evaluate_codeblock<br>    raise e<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 231, in evaluate_codeblock<br>    self.evaluate_statement(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 254, in evaluate_statement<br>    return self.evaluate_if(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 307, in evaluate_if<br>    self.evaluate_codeblock(i.block)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 239, in evaluate_codeblock<br>    raise e<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 231, in evaluate_codeblock<br>    self.evaluate_statement(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 274, in evaluate_statement<br>    return self.evaluate_foreach(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 448, in evaluate_foreach<br>    self.evaluate_codeblock(node.block)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 239, in evaluate_codeblock<br>    raise e<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 231, in evaluate_codeblock<br>    self.evaluate_statement(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 254, in evaluate_statement<br>    return self.evaluate_if(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 301, in evaluate_if<br>    result = self.evaluate_statement(i.condition)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 248, in evaluate_statement<br>    return self.method_call(cur)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 538, in method_call<br>    return obj.method_call(method_name, args, kwargs)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 140, in method_call<br>    return method(args, kwargs)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 115, in wrapped<br>    return f(obj, args, kwargs)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreter.py", line 1227, in has_argument_method<br>    return self.has_multi_arguments_method(args, kwargs)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreterbase.py", line 115, in wrapped<br>    return f(obj, args, kwargs)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\interpreter.py", line 1232, in has_multi_arguments_method<br>    result = self.compiler.has_multi_arguments(args, self.environment)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\compilers\c.py", line 874, in has_multi_arguments<br>    return self.has_arguments(args, env, code, mode='compile')<br>  File "C:\Software\Development\projects\mesa\Py3\lib\site-packages\mesonbuild\compilers\c.py", line 1192, in has_arguments<br>    return not(warning_text in p.stde or warning_text in p.stdo)<br>  File "C:\Software\Development\projects\mesa\Py3\lib\contextlib.py", line 119, in __exit__<br>    next(self.gen)<br>RuntimeError: generator raised StopIteration<br>Microsoft Windows [Version 10.0.17134.137]<br>(c) 2018 Microsoft Corporation. All rights reserved.<br><br>C:\Software\Development\projects\mesa\mesa></span></div></div></body></html>