Re: Clarification on GLUT and Cygwin

2013-01-07 Thread Larry Hall (Cygwin-X)

On 1/7/2013 10:08 PM, MyBig SpamEmail wrote:

snip


Also, I am trying to figure out how to resolve this issue going
forward.  Will the obsolete OpenGL package always be available to use
in the future, or will this package eventually be completely dropped
from Cygwin?  (I hope not, this may make us have to move away from
Cygwin.)


Theoretically yes, obsolete packages will eventually be dropped.  But
realistically, the time between now and when this will happen could be
measured in years.  This should give you plenty of time to make
appropriate adjustments.


--
Larry

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Re: Clarification on GLUT and Cygwin

2013-01-07 Thread Cygwin/X
On Mon, 7 Jan 2013 19:08:54 -0800, MyBig SpamEmail wrote:
 From what I was able to determine (and please correct me if I am wrong):
 
 - The official FAQ and discussion forums are now incorrect... In
 Cygwin you can only use GLUT with X-Windows, any historic projects
 will no longer work.
 
 - /usr/include/opengl/GL no longer exists (used to have Win32 native
 OpenGL files, including GLUT)
 
 - /usr/include/w32api/GL is the new location for Win32 native OpenGL
 files, but GLUT is no longer supported for Win32 native
 
 - /usr/include/GL still has OpenGL and GLUT header files for X-Windows

Correct on all points.

 - As a workaround, we can still install the obsolete OpenGL package
 from the _obsolete category in Cygwin's setup.exe installer, which
 will provide /usr/include/opengl/GL with Win32 native OpenGL+GLUT

For now, but this is not supported, and there are no guarantees as to
how long it will remain available.

 Also, I am trying to figure out how to resolve this issue going
 forward.

An alternative may be for you to compile freeglut for WGL and use that
instead locally.  If you don't have libGL-devel (Mesa) installed, this
will be straightforward; if you do, you'll need to work
around /usr/include/GL.  I don't anticipate supporting this
configuration within the distro, but it should work for your own
purposes.  The attached .cygport should get you started.

The alternative is to build your application for native Windows, using
the mingw64-*-gcc compilers available in the distro and
mingw64-*-freeglut packages available in Cygwin Ports.

HTH,


Yaakov
Cygwin/X


w32api-freeglut.cygport
Description: application/cygport
--
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/