RES: Error compiling 8.0.2 in Windows, and some support

"Bruno Kim Medeiros Cesar" <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Thanks for your support, Brian! 

I didn't manage to build the 7.11.2 version because it lacks
opengl32.mingw.def (as I recall from memory), but succeeded in building
7.10.x which has this *.def. 

Now there's another problem, maybe some of "other ways" you feel the driver
may fail :) It tries to call a dxtn.dll, which is not present, do you know
what it is? 

Tomorrow may be a luckier day,

Bruno Kim.

PS.: walking through the code I found a cpp with Lisp code that is processed
by a custom builtin compiler... Can't say if it's awesome or frightening!

-----Mensagem original-----
De: Brian Paul [mailto:[email protected]] 
Enviada em: quinta-feira, 3 de maio de 2012 16:49
Para: Bruno Kim Medeiros Cesar
Cc: [email protected]
Assunto: Re: [Mesa-users] Error compiling 8.0.2 in Windows, and some support

On 05/03/2012 12:41 PM, Bruno Kim Medeiros Cesar wrote:
> Hello, all. I'm trying to build Mesa 8.0.2 in Windows 7, using
>
> scons platform=windows machine=x86 statetrackers=mesa winsys=gdi 
> build=release drivers=gdi,mesagdi,mesa,trace
>
> and bumped in the following error while compiling wmesa.c:
>
> Compiling src\mesa\drivers\windows\gdi\wmesa.c ...
>
> -- snip --
>
> Finished generating code
>
> scons: building terminated because of errors.
>
> The error is clear enough, I looked at the source and indeed there is 
> no function pointer member of gl_renderbuffer.

Yeah, the windows driver hasn't had much attention lately.  I'm
cherry-picking some changes from Mesa master to the 8.0 branch to hopefully
fix this problem for the next 8.0.x release.  But I have a feeling that the
driver may fail in other ways.

You're probably best off going back to 7.12 or 7.11 release.


> Sidenote 1: why not provide standalone DLLs?

Nobody has volunteered to make/maintain them.


> Sidenote 2: my need is solely software rendering, which drivers should 
> I pass to scons? And where is documented the available CLI arguments?
> Statetrackers and winsys aren't documented at -h.

The "osmesa" target will build the "Off-Screen" Mesa interface which doesn't
use any wgl/glx entrypoingts.


>
> Sidenote 3: I will now try to build with windows as target in a Linux
> environment, because the Windows build process requires a lot of Unix
> dependencies - had to install MinGW, GnuWin32 and such. How could it
> be minimized? I saw that you need help maintaining Windows driver
> building, testing and maintenance, how could I help? Just checking out
> the repo and testing new releases is enough, or more expertise is
> required? I'm just a Java developer intern without much experience J

Checking out the code and trying to fix build issues would be great.

-Brian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.