Date: Sun, 23 Oct 2005 20:18:57 +0900 (JST) Message-Id: <20051023.201857.18571292.garrigue at math.nagoya-u.ac.jp> To: edgin at slingshot.co.nz Cc: lablgtk at math.nagoya-u.ac.jp Subject: Re: Godi build of lablgtk2 From: Jacques Garrigue In-Reply-To: <000501c5d7b1$e63392d0$4618b8cb at Mark> References: <000501c5d7b1$e63392d0$4618b8cb at Mark> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: "Tony Edgin" > I'm trying to build the godi version lablgtk2 on a Cygwin platform. My > system meets all of the stated pre-requisites, but when I have Godi build > it, I get the error > > ml_gdk.c:6:26: gdk/gdkwin32.h: No such file or directory > [cause] > #if defined(_WIN32) || defined(__CYGWIN__) > #include > #else > #include > #endif > > before suggesting I post my problem on this mailing list. Is it true that I > must install a windows version of gtk2? Not really: the only references to __CYGWIN__ are in ml_gdk.c. So you can edit this file, and remove the "|| defined(__CYGWIN__)" parts, and then everything should compile and install fine. I'm no godi specialist, but it should be easy to do, as it is based on BSD ports (I suppose you must just go to the port directory and do "godi_make install" after the correction.) Yet, the resulting lablgtk would work only on X11. If you want it to run without an X server, then you must install a windows version of gtk. Since most people prefer that, this is done that way, but this should probably be made configurable. Jacques