[Mesa-users] Newbie - Compiling Mesa on Windows 8

Keith Kriewall Keith.Kriewall at Attachmate.com
Fri Apr 5 14:07:20 PDT 2013


Hi Connie,

I just checked and scons doesn’t need the yacc.exe / lex.exe copies.  (Those are the non-Windows binary names.)  I ran into that requirement with another build system (I forget which).  Please disregard.

Thanks,

-Keith

From: Maria Benedetta Astoria [mailto:RoyalMailAccount at gmx.de]
Sent: Friday, April 05, 2013 12:23 PM
To: Keith Kriewall
Cc: mesa-users at lists.freedesktop.org
Subject: Aw: RE: [Mesa-users] Newbie - Compiling Mesa on Windows 8


Hi Keith,

great - it worked! Thank you so much.
Just out of curiosity - why do i have to rename them to yacc.exe and lex.exe?

Connie

Gesendet: Freitag, 05. April 2013 um 21:03 Uhr
Von: "Keith Kriewall" <Keith.Kriewall at Attachmate.com<mailto:Keith.Kriewall at Attachmate.com>>
An: "'Maria Benedetta Astoria'" <RoyalMailAccount at gmx.de<mailto:RoyalMailAccount at gmx.de>>, "mesa-users at lists.freedesktop.org<mailto:mesa-users at lists.freedesktop.org>" <mesa-users at lists.freedesktop.org<mailto:mesa-users at lists.freedesktop.org>>
Betreff: RE: [Mesa-users] Newbie - Compiling Mesa on Windows 8
Hi Connie,

You can build specific targets with scons, for example the following builds only the software renderer:

scons libgl-gdi

As for your compile error, it may not be picking up the bison/flex tools (or a late enough version of them).  I installed these with ..

Mingw-get install msys msys-flex msys-bison

.. but then copied bison.exe as yacc.exe, and flex.exe as lex.exe, in folder ..\msys\1.0\bin.

Hope this helps,

-Keith

From: mesa-users-bounces+keith.kriewall=attachmate.com at lists.freedesktop.org<mailto:mesa-users-bounces+keith.kriewall=attachmate.com at lists.freedesktop.org> [mailto:mesa-users-bounces+keith.kriewall=attachmate.com at lists.freedesktop.org] On Behalf Of Maria Benedetta Astoria
Sent: Friday, April 05, 2013 11:49 AM
To: mesa-users at lists.freedesktop.org<mailto:mesa-users at lists.freedesktop.org>
Subject: [Mesa-users] Newbie - Compiling Mesa on Windows 8

Dear all,

I'm trying to get Mesa installed on a Windows 8 plattform with scons.
However there seem to be problems with glsl. I added the compiler output at the end.
Is there a way to exclude glsl from the process? We don't actually need it.

I would greatly appreciate any help! Thanks in advance.

Best,
Connie

==========================================================

D:\temp\Mesa-9.0>scons
scons: Reading SConscript files ...
Checking for X11 (x11 xext xdamage xfixes)... no
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... no
Checking for XF86VIDMODE (xxf86vm)... no
Checking for DRM (libdrm >= 2.4.24)... no
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... no
Checking for XORG (xorg-server >= 1.6.0)... no
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... no
fatal: Not a git repository (or any of the parent directories): .git
warning: LLVM disabled: not building llvmpipe
scons: done reading SConscript files.
scons: warning: you do not seem to have the pywin32 extensions installed;
        parallel (-j) builds may not work reliably with open Python files.
File "C:\Python27\Scripts\scons.py", line 192, in <module>
scons: Building targets ...
  Linking build\windows-x86-debug\mapi\vgapi\libOpenVG.dll ...
   Bibliothek "build\windows-x86-debug\mapi\vgapi\libOpenVG.lib" und Objekt "bui
ld\windows-x86-debug\mapi\vgapi\libOpenVG.exp" werden erstellt.
  Generating src\mesa\main\dispatch.h ...
  Generating build\windows-x86-debug\glsl\glcpp\glcpp-lex.c ...
  Compiling build\windows-x86-debug\glsl\glcpp\glcpp-parse.c ...
glcpp-parse.c
  Generating src\mapi\glapi\glapitable.h ...
"src\glsl\glcpp\glcpp-lex.l", line 64: unrecognized %option: bison-bridge
"src\glsl\glcpp\glcpp-lex.l", line 65: unrecognized %option: extra-type
  Linking build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll ...
scons: *** [build\windows-x86-debug\glsl\glcpp\glcpp-lex.c] Error 1
   Bibliothek "build\windows-x86-debug\gallium\targets\egl-static\libEGL.lib" un
d Objekt "build\windows-x86-debug\gallium\targets\egl-static\libEGL.exp" werden
erstellt.
src\glsl\glcpp\glcpp-parse.y(204) : warning C4244: 'Funktion': Konvertierung von
 'intmax_t' in 'int', möglicher Datenverlust
src\glsl\glcpp\glcpp-parse.y(207) : warning C4244: 'Funktion': Konvertierung von
 'intmax_t' in 'int', möglicher Datenverlust
src\glsl\glcpp\glcpp-parse.y(211) : warning C4244: '=': Konvertierung von 'intma
x_t' in 'int', möglicher Datenverlust
src\glsl\glcpp\glcpp-parse.y(219) : warning C4244: '=': Konvertierung von 'intma
x_t' in 'int', möglicher Datenverlust
src\glsl\glcpp\glcpp-parse.y(221) : warning C4244: '=': Konvertierung von 'intma
x_t' in 'int', möglicher Datenverlust
src\glsl\glcpp\glcpp-parse.y(342) : warning C4244: 'Funktion': Konvertierung von
 'intmax_t' in 'int', möglicher Datenverlust
src\glsl\glcpp\glcpp-parse.y(543) : warning C4244: 'Funktion': Konvertierung von
 'intmax_t' in 'int', möglicher Datenverlust
scons: building terminated because of errors.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20130405/a2ebd78d/attachment-0001.html>


More information about the mesa-users mailing list