[Mesa-users] Error compiling 8.0.2 in Windows, and some support
Brian Paul
brianp at vmware.com
Thu May 3 12:49:16 PDT 2012
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 ...
>
> wmesa.c
>
> src\mesa\drivers\windows\gdi\wmesa.c(956) : error C2039: 'PutRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(957) : error C2039: 'PutValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(958) : error C2039: 'GetRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(959) : error C2039: 'GetValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(964) : error C2039: 'PutRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(965) : error C2039: 'PutValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(966) : error C2039: 'GetRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(967) : error C2039: 'GetValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(971) : error C2039: 'PutRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(972) : error C2039: 'PutValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(973) : error C2039: 'GetRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(974) : error C2039: 'GetValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(983) : error C2039: 'PutRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(984) : error C2039: 'PutValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(985) : error C2039: 'GetRow' : is
> not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> src\mesa\drivers\windows\gdi\wmesa.c(986) : error C2039: 'GetValues' :
> is not a member of 'gl_renderbuffer'
>
> C:\work\issues\Java3D\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see
> declaration of 'gl_renderbuffer'
>
> scons: *** [build\windows-x86\mesa\drivers\windows\gdi\wmesa.obj] Error 2
>
> 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
More information about the mesa-users
mailing list