[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-users
Subject:    [Mesa-users] mesa/mingw: no opengl32.dll ?
From:       Michel Zou <Xantares09 () hotmail ! com>
Date:       2019-04-30 8:42:42
Message-ID: AM6PR08MB501627423773C29CCC78B322C03A0 () AM6PR08MB5016 ! eurprd08 ! prod ! outlook ! com
[Download RAW message or body]

Hello,

I'm trying to build mesa using MinGW from Linux with the meson build system (scons \
did not seem to work). I was hoping to obtain an opengl32.dll (for software rendering \
in mind), but no such dll is built, only libglapi-0.dll, libGLESv1_CM-1.dll and \
libGLESv2-2.dll are installed.

I don't know if I'm missing an option or a dependency to get it built, any clue ?

I'm passing meson options -Dplatforms=surfaceless -Dglx=disabled -Dllvm=false (llvm \
detection does not work and detects host's config and there's no .pc files installed \
for mingw from llvm)

My meson cross-file looks like this:

[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'


The meson output is:

The Meson build system
Version: 0.50.1
Source dir: /home/xantares/projects/aur-scripts/mingw-w64-mesa/src/mesa-19.0.2
Build dir: /home/xantares/projects/aur-scripts/mingw-w64-mesa/src/mesa-19.0.2/build-i686-w64-mingw32
 Build type: cross build
Program python found: YES (/usr/bin/python)
Project name: mesa
Project version: 19.0.2
Native C compiler: cc (gcc 8.3.0 "cc (GCC) 8.3.0")
Cross C compiler: i686-w64-mingw32-gcc (gcc 8.3.0)
Native C++ compiler: c++ (gcc 8.3.0 "c++ (GCC) 8.3.0")
Cross C++ compiler: i686-w64-mingw32-g++ (gcc 8.3.0)
Host machine cpu family: x86
Host machine cpu: i686
Target machine cpu family: x86
Target machine cpu: i686
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program pkg-config found: YES (/usr/bin/pkg-config)
...
Found pkg-config: /usr/bin/i686-w64-mingw32-pkg-config (1.6.1)
Cross dependency zlib found: YES 1.2.11
Cross dependency threads found: YES
Cross dependency expat found: YES 2.2.6
Library m found: YES
Found CMake: NO
Cross dependency libdrm found: NO (tried pkgconfig and cmake)
Cross dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/usr/bin/bison)
Program flex found: YES (/usr/bin/flex)
Cross dependency libunwind found: NO (tried pkgconfig and cmake)
Library sensors found: NO
Program nm found: YES (/usr/bin/nm)
DEPRECATION: build_always is deprecated. Combine build_by_default and \
build_always_stale instead. Build targets in project: 87
WARNING: Deprecated features used:
 * 0.48.0: {'python3 module'}
Option buildtype is: release [default: debugoptimized]
Found ninja-1.9.0 at /usr/bin/ninja


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Hello,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> I'm trying to build mesa using MinGW from Linux with the meson \
build system (scons did not seem to work).</div> <div \
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> I \
was hoping to obtain an opengl32.dll (for software rendering in mind), but no such \
dll is built, only libglapi-0.dll, libGLESv1_CM-1.dll and libGLESv2-2.dll are \
installed.</div> <div style="font-family:Calibri,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> I don't know if I'm missing an option or a dependency to get it \
built, any clue ?<br> </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> I'm passing meson options -Dplatforms=surfaceless -Dglx=disabled \
-Dllvm=false (llvm detection does not work and detects host's config and there's no \
.pc files installed for mingw from llvm)<br> </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> My meson cross-file looks like this:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <span>[host_machine]<br>
</span>
<div>system = 'windows'<br>
</div>
<div>cpu_family = 'x86_64'<br>
</div>
<div>cpu = 'x86_64'<br>
</div>
<span>endian = 'little'</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> The meson output is:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <span>The Meson build system<br>
</span>
<div>Version: 0.50.1<br>
</div>
<div>Source dir: /home/xantares/projects/aur-scripts/mingw-w64-mesa/src/mesa-19.0.2<br>
 </div>
<div>Build dir: /home/xantares/projects/aur-scripts/mingw-w64-mesa/src/mesa-19.0.2/build-i686-w64-mingw32<br>
 </div>
<div>Build type: cross build<br>
</div>
<div>Program python found: YES (/usr/bin/python)<br>
</div>
<div>Project name: mesa<br>
</div>
<div>Project version: 19.0.2<br>
</div>
<div>Native C compiler: cc (gcc 8.3.0 &quot;cc (GCC) 8.3.0&quot;)<br>
</div>
<div>Cross C compiler: i686-w64-mingw32-gcc (gcc 8.3.0)<br>
</div>
<div>Native C&#43;&#43; compiler: c&#43;&#43; (gcc 8.3.0 &quot;c&#43;&#43; (GCC) \
8.3.0&quot;)<br> </div>
<div>Cross C&#43;&#43; compiler: i686-w64-mingw32-g&#43;&#43; (gcc 8.3.0)<br>
</div>
<div>Host machine cpu family: x86<br>
</div>
<div>Host machine cpu: i686<br>
</div>
<div>Target machine cpu family: x86<br>
</div>
<div>Target machine cpu: i686<br>
</div>
<div>Build machine cpu family: x86_64<br>
</div>
<div>Build machine cpu: x86_64<br>
</div>
<span>Program pkg-config found: YES (/usr/bin/pkg-config)</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
                color:rgb(0,0,0)">
...</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <span>Found pkg-config: /usr/bin/i686-w64-mingw32-pkg-config \
(1.6.1)<br> </span>
<div>Cross dependency zlib found: YES 1.2.11<br>
</div>
<div>Cross dependency threads found: YES <br>
</div>
<div>Cross dependency expat found: YES 2.2.6<br>
</div>
<div>Library m found: YES<br>
</div>
<div>Found CMake: NO<br>
</div>
<div>Cross dependency libdrm found: NO (tried pkgconfig and cmake)<br>
</div>
<div>Cross dependency valgrind found: NO (tried pkgconfig)<br>
</div>
<div>Program bison found: YES (/usr/bin/bison)<br>
</div>
<div>Program flex found: YES (/usr/bin/flex)<br>
</div>
<div>Cross dependency libunwind found: NO (tried pkgconfig and cmake)<br>
</div>
<div>Library sensors found: NO<br>
</div>
<div>Program nm found: YES (/usr/bin/nm)<br>
</div>
<div>DEPRECATION: build_always is deprecated. Combine build_by_default and \
build_always_stale instead.<br> </div>
<div>Build targets in project: 87<br>
</div>
<div>WARNING: Deprecated features used:<br>
</div>
<div>&nbsp;* 0.48.0: {'python3 module'}<br>
</div>
<div>Option buildtype is: release [default: debugoptimized]<br>
</div>
<span>Found ninja-1.9.0 at /usr/bin/ninja</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
</body>
</html>


[Attachment #4 (unknown)]

_______________________________________________
mesa-users mailing list
mesa-users@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic