6.5.2 install configure --with-freetype

Hi all:
what exactly is the 'location of installed FreeType product' in the configure flags?

is it the install_dir of freetype (FREETYPE_INSTALL_DIR) or $FREETYPE_INSTALL_DIR/lib or something else?

I've tried $FREETYPE_INSTALL_DIR/lib and I am getting a compilation error:
FTFont.h not found when compiling OpenGL_FontMgr.cxx

Note: I've installed freetype 2.3.7 as required by OCC

This is a linux 64 bit install.

Ugo Capeto's picture

Same question for ftgl.

Ugo Capeto's picture

well, let me try the INSTALL_DIR since it kinda what the manual says, eheh.

Ugo Capeto's picture

hmm, nope, still doesn't work. same problem.

Ugo Capeto's picture

When looking at the Makefile in TKOpenGL, there's nothing for CSF_FTGL_INCLUDES and CSF_FTGL_LIBS although I've specified --with-ftgl=$FTGL_INSTALL_DIRECTORY in the configure flags.
The include and libs are correct for freetype though.

Ugo Capeto's picture

alright, feels like i am mostly talking to myself.

i ended up editing the Makefile in TKOpenGL
CSF_FTGL_INCLUDES = -I/blahblah/FTGL/include