From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18843 invoked by alias); 8 Jan 2013 04:47:27 -0000 Received: (qmail 18832 invoked by uid 22791); 8 Jan 2013 04:47:26 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vb0-f46.google.com (HELO mail-vb0-f46.google.com) (209.85.212.46) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Jan 2013 04:47:20 +0000 Received: by mail-vb0-f46.google.com with SMTP id b13so19977224vby.19 for ; Mon, 07 Jan 2013 20:47:19 -0800 (PST) X-Received: by 10.52.27.50 with SMTP id q18mr75191273vdg.20.1357620439268; Mon, 07 Jan 2013 20:47:19 -0800 (PST) Received: from YAAKOV04 (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id z10sm53382893vds.17.2013.01.07.20.47.15 (version=SSLv3 cipher=OTHER); Mon, 07 Jan 2013 20:47:18 -0800 (PST) Date: Tue, 08 Jan 2013 04:47:00 -0000 From: Yaakov (Cygwin/X) To: cygwin-xfree@cygwin.com Subject: Re: Clarification on GLUT and Cygwin Message-ID: <20130107224721.3df602ce@YAAKOV04> In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/rKQypaX_iSdD+E5qehQDHSr" Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2013-01/txt/msg00007.txt.bz2 --MP_/rKQypaX_iSdD+E5qehQDHSr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 1615 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 --MP_/rKQypaX_iSdD+E5qehQDHSr Content-Type: application/x-cygport Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=w32api-freeglut.cygport Content-length: 1318 TkFNRT0idzMyYXBpLWZyZWVnbHV0IgpWRVJTSU9OPTIuOC4wClJFTEVBU0U9 MQpDQVRFR09SWT0iRGV2ZWwiClNVTU1BUlk9Ik9wZW4gU291cmNlIEdMVVQg aW1wbGVtZW50YXRpb24gZm9yIEN5Z3dpbi9XR0wiCkRFU0NSSVBUSU9OPSJm cmVlZ2x1dCBpcyBhIGNvbXBsZXRlbHkgT3BlblNvdXJjZWQgYWx0ZXJuYXRp dmUgdG8gdGhlIE9wZW5HTCBVdGlsaXR5ClRvb2xraXQgKEdMVVQpIGxpYnJh cnkuIEdMVVQgKGFuZCBoZW5jZSBmcmVlZ2x1dCkgYWxsb3dzIHRoZSB1c2Vy IHRvIGNyZWF0ZSBhbmQKbWFuYWdlIHdpbmRvd3MgY29udGFpbmluZyBPcGVu R0wgY29udGV4dHMgb24gYSB3aWRlIHJhbmdlIG9mIHBsYXRmb3JtcyBhbmQg YWxzbwpyZWFkIHRoZSBtb3VzZSwga2V5Ym9hcmQgYW5kIGpveXN0aWNrIGZ1 bmN0aW9ucy4iCkhPTUVQQUdFPSJodHRwOi8vZnJlZWdsdXQuc291cmNlZm9y Z2UubmV0LyIKU1JDX1VSST0ibWlycm9yOi8vc291cmNlZm9yZ2UvZnJlZWds dXQvZnJlZWdsdXQtJHtQVn0udGFyLmd6IgpTUkNfRElSPSJmcmVlZ2x1dC0k e1BWfSIKCkNZR1BPUlRfVVNFX1VOU1RBQkxFX0FQST0xCnNyY191bnBhY2tf aG9vaygpIHsKCSMgTWVzYSBoZWFkZXJzIGFyZSBjZGVjbCwgV0dMIGFyZSBz dGRjYWxsCglsbiAtc2YgL3Vzci9pbmNsdWRlL3czMmFwaS9HTC8qLmggaW5j bHVkZS9HTC8KCSMgbWF0Y2ggbGlicmFyeSBuYW1lIGluIGRlcHJlY2F0ZWQg b3BlbmdsIHBhY2thZ2UKCXNlZCAtaSAtZSAnL0xJQlJBUlk9L3MvJC8zMi8n IGNvbmZpZ3VyZS5hYwp9CgpDWUdDT05GX0FSR1M9IgoJLS1pbmNsdWRlZGly PS91c3IvaW5jbHVkZS93MzJhcGkKCS0tbGliZGlyPS91c3IvbGliL3czMmFw aQoJLS1lbmFibGUtc2hhcmVkIC0tZW5hYmxlLXN0YXRpYwoJLS1lbmFibGUt cmVwbGFjZS1nbHV0CgktLWRpc2FibGUtd2FybmluZ3MKCS0td2l0aG91dC14 CiIKCktFRVBfTEFfRklMRVM9Im5vbmUiCg== --MP_/rKQypaX_iSdD+E5qehQDHSr Content-Type: text/plain; charset=us-ascii Content-length: 223 -- 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/ --MP_/rKQypaX_iSdD+E5qehQDHSr--