public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: compiling xwin 1.15.1-2
@ 2014-06-21  8:04 J. Offerman
  0 siblings, 0 replies; 4+ messages in thread
From: J. Offerman @ 2014-06-21  8:04 UTC (permalink / raw)
  To: cygwin-xfree

) 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.

I'm seeing the following error now. Is this what you are talking about?

=========================================================
Making all in glx
make[4]: Entering directory '/usr/src/xorg-server-1.15.1-3/xorg-server-1.15.1-3/
build/hw/xwin/glx'
  GEN      generated_gl_shim.c
  GEN      generated_gl_thunks.c
  GEN      generated_gl_thunks.def
Traceback (most recent call last):
  File "/usr/src/xorg-server-1.15.1-3/xorg-server-1.15.1-3/src/xserver-cygwin-1.
15.1-3/hw/xwin/glx/gen_gl_wrappers.py", line 28, in <module>
    from reg import *
EOFError: EOF read where not expected
Makefile:921: recipe for target 'generated_gl_shim.c' failed
make[4]: *** [generated_gl_shim.c] Error 1

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compiling xwin 1.15.1-2
@ 2014-06-21 16:11 J. Offerman
  0 siblings, 0 replies; 4+ messages in thread
From: J. Offerman @ 2014-06-21 16:11 UTC (permalink / raw)
  To: cygwin-xfree

) ) 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.
)
) I'm seeing the following error now. Is this what you are talking about?

No, it was just a python thing. After installing additional python3
libraries, it did compile. So 1.15.1-3 does build and works beautifully.
Even with my 10-year-old patch.:-)
Thanks!

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compiling xwin 1.15.1-2
  2014-06-12 22:54 ` Jon TURNEY
@ 2014-06-19 21:40   ` Jon TURNEY
  0 siblings, 0 replies; 4+ messages in thread
From: Jon TURNEY @ 2014-06-19 21:40 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: J. Offerman

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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compiling xwin 1.15.1-2
       [not found] <CA+2me82zo7qj2Q4N1AcwvfYC80aFoCMKkSdjbjS-cvv688ztSA@mail.gmail.com>
@ 2014-06-12 22:54 ` Jon TURNEY
  2014-06-19 21:40   ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2014-06-12 22:54 UTC (permalink / raw)
  To: J. Offerman; +Cc: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-21 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-21  8:04 compiling xwin 1.15.1-2 J. Offerman
  -- strict thread matches above, loose matches on Subject: below --
2014-06-21 16:11 J. Offerman
     [not found] <CA+2me82zo7qj2Q4N1AcwvfYC80aFoCMKkSdjbjS-cvv688ztSA@mail.gmail.com>
2014-06-12 22:54 ` Jon TURNEY
2014-06-19 21:40   ` Jon TURNEY

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).