On Apr 20, 2007, at 8:19 PM, Hans-Christoph Steiner wrote:
On Apr 20, 2007, at 4:51 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
So the first results are not so promising. It didn't build on
either Debian/stable or Mac OS X. Can anyone give me some of the hidden secrets to building FTGL?if i remember correctly, i have checked in the project-files which
were working with some "current" (don't know the version number though) version of xcode. should be in mac/FTGL.xcodeproj/ (instead of mac/FTGL.xcode/) and it should have fixed all the leftovers from the original FTGL-project where there are absolute paths instead of relative ones.at least it did compile here the last time i tried, without any
major issuesIt seems to be missing a header: ft2build.h I can't find this in
the Gem CVS:
Ok, I figured it out. It turns out that the Fink package freetype219
(which of course has version 2.2.1) is pretty whack. These two paths
need to be added to the "User Header Search Path" in "Edit Project
Settings" in XCode:
/sw/lib/freetype219/include /sw/lib/freetype219/include/freetype2
Then it works. Could someone commit that change?
.hc
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs -fno- exceptions -fno-rtti -fasm-blocks -g -Os -fmessage-length=0 -I/ Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/build/FTGL.build/ Default/ftgl.build/ftgl.hmap -Wmost -Wno-four-char-constants -Wno- unknown-pragmas -F/Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/ build/Default -I../include -I/Users/pd/auto-build/pd-extended/ GemLibs/FTGL/mac/../../freetype-2.2.1/include -I/usr/local/include/ freetype2 -I/Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/build/ Default/include -IIncludes -I/Users/pd/auto-build/pd-extended/ GemLibs/FTGL/mac/build/FTGL.build/Default/ftgl.build/DerivedSources
-c /Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/../src/ FTBitmapGlyph.cpp -o /Users/pd/auto-build/pd-extended/GemLibs/FTGL/ mac/build/FTGL.build/Default/ftgl.build/Objects-normal/i386/ FTBitmapGlyph.o In file included from /Users/pd/auto-build/pd-extended/GemLibs/FTGL/ mac/../src/FTBitmapGlyph.cpp:3: /Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/../include/ FTBitmapGlyph.h:5:22: error: ft2build.h: No such file or directory /Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/../include/ FTBitmapGlyph.h:6:10: error: #include expects "FILENAME" or <FILENAME> /Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/../include/ FTBitmapGlyph.h:7:10: error: #include expects "FILENAME" or <FILENAME> In file included from /Users/pd/auto-build/pd-extended/GemLibs/FTGL/ mac/../include/FTBitmapGlyph.h:10, from /Users/pd/auto-build/pd-extended/GemLibs/FTGL/ mac/../src/FTBitmapGlyph.cpp:3: /Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/../include/ FTGlyph.h:5:10: error: #include expects "FILENAME" or <FILENAME> /Users/pd/auto-build/pd-extended/GemLibs/FTGL/mac/../include/ FTGlyph.h:6:10: error: #include expects "FILENAME" or <FILENAME> In file included from /Users/pd/auto-build/pd-extended/GemLibs/FTGL/ mac/../include/FTGlyph.h:8, from /Users/pd/auto-build/pd-extended/GemLibs/FTGL/ mac/../include/FTBitmapGlyph.h:10,mfgas.dr IOhannes
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle
man for Big Business, for Wall Street and the bankers. -
General Smedley Butler
There is no way to peace, peace is the way. -A.J. Muste