<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot build osmesa with GLES support using Scons and MSVC"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106843#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot build osmesa with GLES support using Scons and MSVC"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106843">bug 106843</a>
from <span class="vcard"><a class="email" href="mailto:liviuprodea@yahoo.com" title="Alex Granni <liviuprodea@yahoo.com>"> <span class="fn">Alex Granni</span></a>
</span></b>
<pre>Eric, I tried that branch but it's far from being in working state. When I
attempt to build it, it tries to find pkg-config. This doesn't make sense for a
MSVC build. As far as I know that's a Linux, MSYS2 and Cygwin thing and has
nothing to do with MSVC:
The following Python versions were detected:
1. Python 2.7
Note: Experimental /enablemeson command-line argument is set. We will attempt
to build Mesa3D if you pick any of the folowing Python versions even if it is
known to fail for now:
5. Python 3.6
Select Python version by entering its index from the table above:5
Using Python 3.6.5 from C:\Software\DEVELO~1\projects\mesa\py3\python.exe.
WARNING: Python 3.x support is experimental.
Install/update python packages (y/n):
Begin LLVM build. Only needs to run once for each ABI and version. Proceed
(y/n):
Begin mesa build. Proceed (y/n):y
Use Ninja build system instead of MsBuild (y/n); less storage device strain and
maybe faster build:
Do you want to clean build (y/n):y
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.7.3
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Software\DEVELO~1\projects\mesa\mesa>echo %buildcmd%
C:\Software\DEVELO~1\projects\mesa\py3\python.exe
C:\Software\DEVELO~1\projects\mesa\py3\Scripts\meson.py .
.\build\windows-x86_64 --backend=vs2017 --buildtype=release
C:\Software\DEVELO~1\projects\mesa\mesa>%buildcmd%
The Meson build system
Version: 0.46.1
Source dir: C:\Software\DEVELO~1\projects\mesa\mesa
Build dir: C:\Software\DEVELO~1\projects\mesa\mesa\build\windows-x86_64
Build type: native build
Program python found: YES (C:\Software\DEVELO~1\projects\mesa\py3\python.EXE)
Project name: mesa
Native C compiler: cl (msvc 19.14.26430)
Native C++ compiler: cl (msvc 19.14.26430)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program pkg-config found: NO
meson.build:414:0: ERROR: Program(s) ['pkg-config'] not found or not
executable
A full log can be found at
C:\Software\DEVELO~1\projects\mesa\mesa\build\windows-x86_64\meson-logs\meson-log.txt
C:\Software\DEVELO~1\projects\mesa\mesa>
To test for this issue I probably only have to add -Dshared-glapi=true and
Dosmesa=gallium. Dgles1 and Dgles2 are not needed as the only requirement is an
osmesa build with shared-glapi. But for those options to have any meaningful
effect the build has to get further.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>