From: André B. <and...@ho...> - 2009-02-17 16:43:30
|
Hi there, Regarding issues of building Freeglut under Cygwin: Sven Panne wrote: ---------------------------------------- > Date: Sat, 14 Feb 2009 12:46:33 +0100 > Subject: Re: [Freeglut-developer] Freeglut under Cygwin > > Am Mittwoch, 17. Dezember 2008 04:12:08 schrieb André Bleau: >> [...] >> 1- I noticed some messages about a forecoming Freeglut 2.6.0 "soon". Should >> I wait for it before starting my packaging work? As I told you in my first >> message, my time frame is for 2009 (most probably early Q1). I think that >> modifications necessary fot the Cygwin package could as well be >> incorporated in some later 2.6.1 update that would provide no new >> functionality, excdept the Cygwin port. [...] > > Yesterday I upgraded my Cygwin installation to the latest and greatest version > via the usual setup.exe and tried to build freeglut from SVN with it. Alas, it > once again failed... :-( I am quite sure that it worked last time I tried it, > which was a few months ago. The vanilla configuration/compilation fails > because suddenly -lGLU and friends don't seem to work anymore (should glu32 > etc. be used now, even under X??), and the configuration/compilation with "-- > without-x" fails in the linking step, because it can't find the OpenGL entry > points (calling convention mismatch)? > > In the past I really tried to keep compilation of freeglut under Cygwin alive, > but I'm slowly losing interest. I really like Cygwin as a tool, but for a > programmer of portable software it is really hell on earth. :-( I would really > appreciate if somebody else took over the Cygwin maintenance of freeglut. > André? A way to build a native Windows DLL under MinGW/MSYS would be a nice > bonus, too, but I can't see a way to do this via libtool, so we would probably > have to revert to a batch script. :-P > > Regarding the 2.6.0 release: I propose that André tries to get things going > again under Cygwin, but if it takes too much time, we should release anyway. > The important thing is that freeglut compiles under MSVC, the various Linuxes, > BSD clones, Solaris and Mac OS. If we do not hear any complaints from these > major platforms, we should ignore the Cygwin issue for now. > > Cheers, > S. I have always had issues building Freeglut with Cygwin's autotools. So my plan for a first package of Freeglut for Cygwin is to build it with Visual Studio, as I currently do for GLUT. This brings some other issue that I mentioned in my last message: ---------------------------------------- 2- The current version (2.4.0) builds well with my version of Visual Studio (2005), even if it contains only a workspace (.dsw) and projects (.dsp) for Visual Studio 6. VS 2005 can read those and convert them to a solution (.sln) and new projects (.prj) that I can modify. But VS 2005 can not write backward compatible .dsw and .dsp, so I can not prepare patches for these. I could use some tool like prjconvert to perform the conversion, but I have no experience with it and I don't know how well it works. I could test with VS 2005 if it can read back those converted .dsw and .dsp, but that does not necessarily mean that VS 6 could read them properly. Someone else would have to do test that. I could also write to this mailing list what changes I made to the .sln and .prj files, and someone else could then try to apply similar changes in VS 6 to the .dsw and .dsp. ---------------------------------------- Is there any interest in building Freeglut with VS2005 ? If yes, is there any interest in bringing the changes I made for building with VS2005 to Freeglut's CVS? - André _________________________________________________________________ |