From: hughw AT scoutsys DOT com (Hugh Winkler) Subject: RE: libglut.a : Where can I get it? 5 Sep 1998 02:23:51 -0700 Message-ID: <000f01bdd7c4$0f1bbd80$0c0aa8c0.cygnus.gnu-win32@harry.scoutsys.com> References: <35EC970B DOT FE608BEA AT pmf DOT snu DOT ac DOT kr> Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: "'Jerry Oh'" , I have just today compiled libglut and it works well, apparently, with the code I was porting. You link to the MS GL libraries, not Mesa. To build the three libs in the distribution at http://reality.sgi.com/opengl/glut3/glut3.html I had to do the following: 1. Create 3 custom Makefiles for cygwin32: for the glut, mui, and gle libs. The makefiles define and _WIN32, WIN32, and they build the libraries from different constituent .o files than the unix builds. I made these makefiles using imake, then modified the constituent files according to the ones in the Makefile.win files (the makefiles for NMAKE and CL). 2. Modify the file lib/glut/win32_util.c trivially: Old code : #if defined(__CYGWIN32__) typedef MINMAXINFO* LPMINMAXINFO; #else #include #endif New code : #if defined(__CYGWIN32__) typedef MINMAXINFO* LPMINMAXINFO; #endif #include I imagine some earlier distribution of cygwin32 did not contain ? Anyway, I am using b19 and this works for me. I have put the makefiles, and the libglut.a (for intel), at ftp://ftp.scoutsys.com/misc/glut-cygwin32 Hugh Winkler Scout Systems, Inc. > -----Original Message----- > From: owner-gnu-win32 AT cygnus DOT com [mailto:owner-gnu-win32 AT cygnus DOT com]On > Behalf Of Jerry Oh > ...snip... > Does anyone have "libglut.a". Or let me know where I can get it. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".