From: Sven P. <Sve...@ae...> - 2005-05-25 17:14:55
|
Lutz Sch=F6nemann wrote: > I have installed Cygwin and configured freeglut with ./configure=20 > pointing to mingw32-g++.exe compiler. I'm not familiar with makefiles=20 > but what I can say is when I run make it wouldn't do what I expect it t= o=20 > do. All variables holding path-values are configured using unix/linux=20 > pathes and many other problems would come up if I run make. A few remarks for non-Visual-Studio builds on WinDoze: In principle, free= glut should build via the normal "configure && make install" route for cygwin = and MinGW/MSYS, we do *not* need any special Makefiles here. In practice thin= gs are currently a bit different, though: :-] * I haven't tried a cygwin build recently, so it might not actually wo= rk for some obscure reason. * Under cygwin you have the option to link against cygwin's X11 or aga= inst the normal WinDoze GL/GLU DLLs. We should introduce a configure opti= on for that. * You can build programs/DLLs with cygwin, which are "pure WinDoze", i= =2Ee. do not need the cygwin DLL later, but I am not sure if we can achiev= e this easily via autoconf/automake/libtool. Trying to do this can be = an adventure as I recall from other projects. * MinGW's current headers miss a few things, e.g. ChangeDisplaySetting= sEx. We could handle this via some additional autoconf magic. * We have to #define FREEGLUT_EXPORTS when building the library on Win= Doze, which is not being done currently. * Some Makefile.am has to be adapted to link against the right librari= es on WinDoze when building a "pure WinDoze" DLL (related to the 2nd point= above). This is all not a big deal, but I really suggest that we get 2.4.0 out of= the door now. I'll have a look at these issues when I'm back from my vacation= =2E.. Cheers, S. |