compiling xwin 1.15.1-2

Jon TURNEY jon.turney@dronecode.org.uk
Thu Jun 12 22:54:00 GMT 2014


On 12/06/2014 22:49, J. Offerman wrote:
> Can you help me resolve this compile error that I'm seeing now? Thanks.

Please use the mailing list for these kinds of questions.

> ===================================================
> In file included from
> /usr/src/xorg-server-1.15.1-2/src/xserver-cygwin-1.15.1-2/hw/xwin/glx/glthunk.c:87:0:
> ./generated_gl_thunks.c: In function 'glTexturePageCommitmentEXTWrapper':
> ./generated_gl_thunks.c:10560:3: error: too many arguments to function
> 'proc'
>     RESOLVED_PROC(PFNGLTEXTUREPAGECOMMITMENTEXTPROC)( texture_, target_,
> level_, xoffset_, yoffset_, zoffset_, width_, height_, depth_, resident_ );

Thanks for drawing this to my attention.

This fails because the description of glTexturePageCommitmentEXT() in 
/usr/share/opengl/api/gl.xml from (khronos-opengl-registry) needs to 
match it's prototype in /usr/include/w32api/GL/glext.h (from w32api-headers)

There was an upstream bug where an extra 'target' parameter was 
erroneously added.  The latest w32api-headers have updated GL headers 
that have that fixed, but it seems I haven't updated khronos-opengl-registry

Until I make an updated package, you'll have to fix gl.xml yourself, 
like this:

--- gl.xml~     2013-08-08 18:07:23.000000000 +0100
+++ gl.xml      2014-05-02 17:35:52.000120700 +0100
@@ -22968,7 +22968,6 @@
          <command>
              <proto>void <name>glTexturePageCommitmentEXT</name></proto>
              <param><ptype>GLuint</ptype> <name>texture</name></param>
-            <param><ptype>GLenum</ptype> <name>target</name></param>
              <param><ptype>GLint</ptype> <name>level</name></param>
              <param><ptype>GLint</ptype> <name>xoffset</name></param>
              <param><ptype>GLint</ptype> <name>yoffset</name></param>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list