public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: "J. Offerman" <jofferman@gmail.com>
Subject: Re: compiling xwin 1.15.1-2
Date: Thu, 19 Jun 2014 21:40:00 -0000	[thread overview]
Message-ID: <53A358BB.90106@dronecode.org.uk> (raw)
In-Reply-To: <539A2F8B.7060203@dronecode.org.uk>

On 12/06/2014 23:54, Jon TURNEY wrote:
> 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>
>

I've uploaded an updated khronos-opengl-registry-20140619_svn27116-1 
package, which includes this fix.

Due to other changes it includes, an additional change is needed to 
compile xorg-server with it, which is included in 1.15.1-3.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/


  reply	other threads:[~2014-06-19 21:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+2me82zo7qj2Q4N1AcwvfYC80aFoCMKkSdjbjS-cvv688ztSA@mail.gmail.com>
2014-06-12 22:54 ` Jon TURNEY
2014-06-19 21:40   ` Jon TURNEY [this message]
2014-06-21  8:04 J. Offerman
2014-06-21 16:11 J. Offerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A358BB.90106@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=jofferman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).