<div class="gmail_quote">On Sun, Oct 24, 2010 at 12:45 PM, Frederic Claux <span dir="ltr">&lt;<a href="mailto:frederic.claux@global-vision-systems.com">frederic.claux@global-vision-systems.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2010/10/24 Frederic Claux <span dir="ltr">&lt;<a href="mailto:frederic.claux@global-vision-systems.com" target="_blank">frederic.claux@global-vision-systems.com</a>&gt;</span><div><div></div><div class="h5"><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote">2010/10/24 Chia-I Wu <span dir="ltr">&lt;<a href="mailto:olvaffe@gmail.com" target="_blank">olvaffe@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div><div></div><div>On Sun, Oct 24, 2010 at 10:10 PM, Frederic Claux &lt;<a href="mailto:fclaux.gvs@gmail.com" target="_blank">fclaux.gvs@gmail.com</a>&gt; wrote:I don&#39;t know if there is a<br></div></div><div>

suggested way, but I use SCons to build mesa on Windows myself<br>
<br>
  <a href="http://www.mesa3d.org/install.html#scons" target="_blank">http://www.mesa3d.org/install.html#scons</a><br></div></blockquote></div><br>Isn&#39;t there a location where I can get precompiled mesa 7.9 binaries?<br>

<br>
There really are multiple problems when trying to build with Visual Studio.<br>I tried to use SCons on Windows, but I&#39;m not going very far with it:<br><br>1) I installed Python 3.1.2<br>2) then SCons (which detected C:\Python31 installation directory)<br>


3) I added C:\Python31 and C:\Python31\Scripts to my system path<br>4) From the Mesa-7.9 directory, I opened a command prompt and issued:<br><br>scons debug=yes statetrackers=mesa drivers=llvmpipe winsys=gdi dri=false<br>


<br>I get the following python error right away:<br><br>Traceback (most recent call last):<br>  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<br>  File &quot;c:\Python31\Scripts\..\Lib\site-packages\scons-2.0.1\SCons\__init__.py&quot;, line 43, in &lt;module&gt;<br>


    import SCons.compat<br>  File &quot;c:\Python31\Scripts\..\Lib\site-packages\scons-2.0.1\SCons\compat\__init__.py&quot;, line 90, in &lt;module&gt;<br>    import _scons_builtins<br>ImportError: No module named _scons_builtins<br>


</blockquote></div><br></div></div>Hi again,<br><br>I got rid of Python 3.1 and SCons 2.0.1, and tried with the more common Python 2.7 and SCons 1.3.1, as Mesa might be happier with these versions.<br><br>The error I get now is simple:<br>

<br>No SConstruct file found.<br><br>I guess there is a preliminary step, such as running configure - but configure is a shell file and I&#39;m on Windows?<br>What shall I do? <br><br>Fred<br><br>
<br>
<br></blockquote></div><br>The Visual Studio project files probably were not updated for Mesa 7.9.  They do/should work for Mesa 7.8.x.  <br>
<br>
If you really need to build Mesa 7.9 in Visual Studio, you can modify 
the Visual Studio projects to get it building again.  The delta between 7.8 and 7.9 is pretty 
big, so it may take some effort to make these changes, but it is doable.  The effort mainly consists of adding and removing files, although for Mesa 7.8, I had to add a step to compile the shader compiler and compile the pre-compiled shaders.  I have not been following Mesa 7.9 that carefully, so I cannot estimate the work needed this time.  There was some talk about needing to generate more files at build time using Python scripts, and that would make things harder.  I also can&#39;t say when I might get around to updating the project files either.<br>

<br>
SCons seems to be the preferred tool for building Mesa for Windows, 
probably because another set of build files do not have to be 
maintained.  It also uses the gallium softpipe and a better GDI 
driver.<br>
<br>
I&#39;ve tried to get Scons to work on Windows too, but ran into the same problems you did.  It seems that we need better instructions for building with Scons on Windows.<br><br>Note that there is another thread in this list about using the MinGW crosscompiler toolchain on Linux.<br>
<br>The Mesa project doesn&#39;t distribute Windows binaries.<br><br>Given Scons, does anyone have any thoughts/opinions on trying to keep the Visual Studio projects going for Mesa 7.9 and beyond?<br><br>Karl<br><br>