<br><br><div class="gmail_quote">On Mon, Apr 25, 2011 at 1:09 PM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>></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;">
<div class="im">On 04/22/2011 10:27 AM, K M wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Hi,<br>
<br>
It is possible to build Mesa 7.9 or or newer on Windows? The VS<br>
solution files want to compile files that do not exist. The current<br></div>
compilation instructions at <a href="http://mesa3d.org" target="_blank">mesa3d.org</a> <<a href="http://mesa3d.org" target="_blank">http://mesa3d.org</a>> say to use<div class="im"><br>
SCons, but it looks like the tarballs are missing some files needed to<br>
do this.<br>
<br>
I grabbed the repository code for the 7.10.2 tag and the 7.10 branch.<br>
Both of these had some additional files needed for SCons, but the<br>
build process for both of them would fail to create an opengl32.dll,<br>
giving a link error.<br>
</div></blockquote>
<br>
What exactly was the error?</blockquote><div> </div><div>Hi Brian, <br><br>The linker stops with:<br><br>glsl.lib(ralloc.obj) : error LNK2019: unresolved external symbol va_copy referenced in function printf_length<br><br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I also grabbed the mainline code from the repository. Running SCons,<br>
I am able to build both a 32bit and 64bit Windows opengl32.dll,<br>
glut32.dll, libEGL.dll, libOpenVG.dll, and graw.dll libraries.<br>
However, it does not build a glu32.dll or a osmesa32.dll like Mesa 7.8<br>
does.<br>
</blockquote>
<br></div>
I think Jose fixed that over the weekend.</blockquote><div><br>glu32.dll fails to link because of an unresolved symbol:<br><br>mipmap.obj : error LNK2019: unresolved external symbol _wglGetProcAddress referenced in function _gluTexImage3D.<br>
<br>Looks like a dependency is missing from the link line?<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Is this the current state of affairs due to the transition to using<br>
SCons instead of VS?<br>
</blockquote>
<br></div>
I fixed the problem w/ missing scons files in the tarballs for the next release. You can try some test .zip files in <a href="ftp://ftp.freedesktop.org/pub/mesa/tmp/" target="_blank">ftp://ftp.freedesktop.org/pub/mesa/tmp/</a><br>
<font color="#888888">
<br></font></blockquote><div><br>I grabbed the MesaLib-7.10.2-sconstest.zip, but was unable to compile it. It fails with the message:<br><br>fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory<br>
<br>This include is appearing on line 60 of gallium\include\pipe\p_compiler.h.<br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888">
-Brian<br>
</font></blockquote></div><br>