problem with FTGLTextureFont

Dear forum members,

I tried to install the latest OpenCascade version 6.5.4 and run into errors I cannot solve by myself. I am using Ubuntu 10.04, installed freetype and ftgl like explained in the pdf-file related to third-party products. Both freetype and ftgl compiled and installed without errors.

When I configure OpenCascade with this commands:
./build_configure
./configure --with-freetype=/usr/local/freetype-2.4.11 --with-ftgl=/usr/local/ftgl-2.1.3-rc5

I get the following error message:
...
checking for gluSphere in -lGLU... yes
configure: try freetype in /usr/local/freetype-2.4.11
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
configure: try ftgl in /usr/local/ftgl-2.1.3-rc5
checking ftgl.h usability... yes
checking ftgl.h presence... yes
checking for ftgl.h... yes
checking for FTGLTextureFont in -lftgl... no
configure: error: Unable to locate the required ftgl library

I have no idea what is the reason for this message. Does anyone knows what to do to fix this?
Best regards,
Gernot

Forum supervisor's picture

Dear Gernot,
We did not test "freetype 2.4.11".
The officially supported version is 2.4.10.
Try it, please.
Regards

gernot's picture

Thank you for the fast reply!
I tried with freetype-2.4.10 but it does not makes a difference, same error message:
...
checking for glClear in -lGL... yes
checking for gluSphere in -lGLU... yes
configure: try freetype in /usr/local/freetype-2.4.10
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
configure: try ftgl in /usr/local/ftgl-2.1.3-rc5
checking ftgl.h usability... yes
checking ftgl.h presence... yes
checking for ftgl.h... yes
checking for FTGLTextureFont in -lftgl... no
configure: error: Unable to locate the required ftgl library

Gernot