<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Connie,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You can build specific targets with scons, for example the following builds only the software renderer:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">scons libgl-gdi<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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 ..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">Mingw-get install msys msys-flex msys-bison<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">.. but then copied bison.exe as yacc.exe, and flex.exe as lex.exe, in folder ..\msys\1.0\bin.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hope this helps,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Keith<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mesa-users-bounces+keith.kriewall=attachmate.com@lists.freedesktop.org [mailto:mesa-users-bounces+keith.kriewall=attachmate.com@lists.freedesktop.org]
<b>On Behalf Of </b>Maria Benedetta Astoria<br>
<b>Sent:</b> Friday, April 05, 2013 11:49 AM<br>
<b>To:</b> mesa-users@lists.freedesktop.org<br>
<b>Subject:</b> [Mesa-users] Newbie - Compiling Mesa on Windows 8<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Dear all,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">I'm trying to get Mesa installed on a Windows 8 plattform with scons.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">However there seem to be problems with glsl. I added the compiler output at the end.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Is there a way to exclude glsl from the process? We don't actually need it.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">I would greatly appreciate any help! Thanks in advance.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Best,<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Connie<br>
<br>
========================================================== <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><br>
D:\temp\Mesa-9.0>scons<br>
scons: Reading SConscript files ...<br>
Checking for X11 (x11 xext xdamage xfixes)... no<br>
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... no<br>
Checking for XF86VIDMODE (xxf86vm)... no<br>
Checking for DRM (libdrm >= 2.4.24)... no<br>
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no<br>
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... no<br>
Checking for XORG (xorg-server >= 1.6.0)... no<br>
Checking for KMS (libkms >= 2.4.24)... no<br>
Checking for UDEV (libudev > 150)... no<br>
fatal: Not a git repository (or any of the parent directories): .git<br>
warning: LLVM disabled: not building llvmpipe<br>
scons: done reading SConscript files.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">scons: warning: you do not seem to have the pywin32 extensions installed;<br>
        parallel (-j) builds may not work reliably with open Python files.<br>
File "C:\Python27\Scripts\scons.py", line 192, in <module><br>
scons: Building targets ...<br>
  Linking build\windows-x86-debug\mapi\vgapi\libOpenVG.dll ...<br>
   Bibliothek "build\windows-x86-debug\mapi\vgapi\libOpenVG.lib" und Objekt "bui<br>
ld\windows-x86-debug\mapi\vgapi\libOpenVG.exp" werden erstellt.<br>
  Generating src\mesa\main\dispatch.h ...<br>
  Generating build\windows-x86-debug\glsl\glcpp\glcpp-lex.c ...<br>
  Compiling build\windows-x86-debug\glsl\glcpp\glcpp-parse.c ...<br>
glcpp-parse.c<br>
  Generating src\mapi\glapi\glapitable.h ...<br>
"src\glsl\glcpp\glcpp-lex.l", line 64: unrecognized %option: bison-bridge<br>
"src\glsl\glcpp\glcpp-lex.l", line 65: unrecognized %option: extra-type<br>
  Linking build\windows-x86-debug\gallium\targets\egl-static\libEGL.dll ...<br>
scons: *** [build\windows-x86-debug\glsl\glcpp\glcpp-lex.c] Error 1<br>
   Bibliothek "build\windows-x86-debug\gallium\targets\egl-static\libEGL.lib" un<br>
d Objekt "build\windows-x86-debug\gallium\targets\egl-static\libEGL.exp" werden<br>
erstellt.<br>
src\glsl\glcpp\glcpp-parse.y(204) : warning C4244: 'Funktion': Konvertierung von<br>
 'intmax_t' in 'int', möglicher Datenverlust<br>
src\glsl\glcpp\glcpp-parse.y(207) : warning C4244: 'Funktion': Konvertierung von<br>
 'intmax_t' in 'int', möglicher Datenverlust<br>
src\glsl\glcpp\glcpp-parse.y(211) : warning C4244: '=': Konvertierung von 'intma<br>
x_t' in 'int', möglicher Datenverlust<br>
src\glsl\glcpp\glcpp-parse.y(219) : warning C4244: '=': Konvertierung von 'intma<br>
x_t' in 'int', möglicher Datenverlust<br>
src\glsl\glcpp\glcpp-parse.y(221) : warning C4244: '=': Konvertierung von 'intma<br>
x_t' in 'int', möglicher Datenverlust<br>
src\glsl\glcpp\glcpp-parse.y(342) : warning C4244: 'Funktion': Konvertierung von<br>
 'intmax_t' in 'int', möglicher Datenverlust<br>
src\glsl\glcpp\glcpp-parse.y(543) : warning C4244: 'Funktion': Konvertierung von<br>
 'intmax_t' in 'int', möglicher Datenverlust<br>
scons: building terminated because of errors.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> <o:p></o:p></span></p>
</div>
</body>
</html>