When building CEGUI I get an error indicating that the file "ft2build.h" can't be found. However, this file does exist - it's in /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include.
In the project build settings, the directory /Developer/SDKs/MacOSX10.4u.sdk is listed in the SDK Path setting.
In /Developer/SDKs/MacOSX10.4u.sdk/usr/include there is a link "X11" to "../X11R6/include/X11", and freetype2 is in /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/freetype2 (as mentioned above, ft2build.h is one up from this.)
freetype-config --cflags has "-I/usr/X11R6/include -I/usr/X11R6/include/freetype2". /usr/X11R6/include contains a directory "freetype2" which contains a directory "freetype" which contains freetype headers. ft2build.h is also in /usr/X11R6/include.
Adding any of the aforementioned paths to the header search paths in the project build settings doesn't seem to help.
Another thing I should mention: the files CEGUIFontManager_implData.h and CEGUIFont_implData.h were missing after I expanded the CEGUI source package (resulting in build errors.) I went into the SVN repository for CEGUI 0.4 (I'm using 0.5) and pulled the files out of there and dropped them into the source tree. I don't know if I should have done that or not.
Thanks in advance.
I should mention - the offending file is CEGUIFreeTypeFont.h, line 37, included by src/CEGUIFontManager.cpp.
CEGUI on OS X - xcode build problems
Moderators: CEGUI MVP, CEGUI Team
Who is online
Users browsing this forum: No registered users and 28 guests