Chris Sparks a écrit:
Much better in terms of installation. Especially the use of Unix tools for us MINGW folk. Once I rolled all of the includes and libs from z, jpg, ... into the GRX directories I had to tweak test's makefile.w32 because it wouldn't link the -ljpg ... stuff. I just used a path like the GRX20 variable and I was able to link and test.
There is no unique way to do that. I am used to mimic linux behavior, by creating a subdirectory "local" below /usr ( i.e. msys\1.0 ) in msys, and to put in it jpeg, png, tiff and the like libraries coming from the GnuWin32 distribution (which do not use the msys dll). GRX fits nicely into this sheme: thus it does not go into the default c:\mingw directory, which contains only the basic mingw distrib (changed for each new version). To enable the compiler to see them I include in the .profile file in my home directory (it could be also in the global /etc/profile, but I would need to regenerate it for each new version of msys)
export PATH=".:/usr/local/bin:/mingw/bin:/bin:/c/windows:/c/windows/command" export LIBRARY_PATH="/usr/local/lib" export C_INCLUDE_PATH="/usr/local/include" export CPLUS_INCLUDE_PATH="/usr/local/include"
(The path has to be adapted for winXP, and may be other distributions like MikTeX, ghostscript)
I noticed that the GRX demo still has font problems on Windows. Sometimes the text is blanked for certain characters and it doesn't seem reproducible.
Not all fonts are complete, especially the .fnt are not. Compare the 4 fonts displayed in demogrx.exe
There are other problems related to winXP or the graphics card. For me the win32 driver is very good on an old machine with win98se and an ATI card, but the 256 bits driver is bogus on a newer machine with winXP and a GeForce card (the 16M driver works, fortunately). Not every thing is improved for each new version !
Maurice