missing include of freetype


Im wondering about a problem i have compiling panda3d (under osx). Even though i have defined freetype in Config.pp and the sources.pp define “#define USE_PACKAGES freetype” the panda/src/text and panda/src/pnmtext . The compilation of multiple files failes because of missing -I/opt/local/include/freetype2 (for example pnmtext_pnmTextMaker.o, libpnmtext_igate.o, text_text_composite1.o).

Any hints how this can be solved? (so the compilation doesnt need manual adding of the include line)

Try putting:

#define FREETYPE_IPATH /opt/local/include/freetype2

in your Config.pp file.