I'm working to make a package for xplanet. I thought I was basically
all finished until I discovered that it won't build if freetype is
installed. Freetype2 alone is not a problem.
The immediate problem is that FT_Library is not defined. It is defined
in /sw/include/freetype2/freetype/freetype.h. If I add #include
<freetype2/freetype/freetype.h> to displaybase.h, the problem is fixed.
But the file #includes FT_FREETYPE_H, which is defined in freetype2's
ftheader.h as freetype/freetype.h.
This doesn't make sense to me, since the c++ line has
-I/sw/include/freetype2, so it should be #including the file. I suppose
I could just patch displaybase.h and be done with it. Any thoughts?
make
c++ -I/sw/include -I/sw/include/freetype2 -I/sw/include
-I/usr/X11R6/include -I/sw/include -Wall -O3 -I/sw/include
-I/sw/include -I. -c -o xplanet.o xplanet.cc
In file included from libdisplay/libdisplay.h:23,
from xplanet.cc:37:
libdisplay/DisplayBase.h:96: 'FT_Library' is used as a type, but is not
defined
as a type.
libdisplay/DisplayBase.h:97: 'FT_Face' is used as a type, but is not
defined as
a type.
make: *** [xplanet.o] Error 1
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
