freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Build errors (Windows and OS X)


From: Rainer Deyke
Subject: [ft] Build errors (Windows and OS X)
Date: Sun, 23 Mar 2008 00:53:08 -0600
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

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 - address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]