I encountered the following errors trying to build Freetype 2.3.5 as per the build instructions:

Using GNU make on Windows XP with Visual C++ 8.0 Express, I get a warning about the /G5 command line option (which this compiler does not understand) and some spurious warnings about fopen being unsafe, which are turned into errors by the /WX option. I was able to compile by editing the appropriate makefile and removing the /G5 and /WX options.

The INSTALL.ANY instructions are incomplete in that they do not mention that FT2_BUILD_LIBRARY needs to be defined when building Freetype. By defining this symbol, I was able to build Freetype on Windows XP with my own build system. (Technically the need for the FT2_BUILD_LIBRARY can be eliminated by placing a #define in all source files that need this symbol to be defined.)

Compiling on OS X using my own build system and the INSTALL.ANY instructions, I keep getting errors that ftbase.c cannot find ftmac.c. Investigating further, I find that ftbase.c includes <ftmac.c> using angle brackets, which seems to prevent my compiler (Apple gcc 4.0.1) from finding the file.

INSTALL.ANY says that both ftbase.c and ftmac.c should be compiled on Macintosh computers. However, ftbase.c tries to #include ftmac.c, so this instruction is probably wrong.


--
Rainer Deyke - [EMAIL PROTECTED]


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to