octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No FTGL, says configure script?


From: Jason Riedy
Subject: Re: No FTGL, says configure script?
Date: Fri, 24 Oct 2008 13:33:32 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

And Ben Abbott writes:
> configure:11818: checking FTGL/ftgl.h usability
> configure:11860: checking FTGL/ftgl.h presence
> configure:11924: checking for FTGL/ftgl.h

Ok, all these succeeded...

> configure:11933: result: yes
> configure:12107: checking for FTGLTextureFont in -lftgl
> configure:12147: g++ -o conftest -g -O2 
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -g 
> -I/sw/include -FOpenGL -I/sw/include/freetype2 -I/sw/include 
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include 
> -L/sw/lib/fltk-aqua/lib -L/sw/lib -lfltk_gl -framework AGL -framework OpenGL 
> -lfltk -lpthread -framework Carbon -framework ApplicationServices 
> conftest.cpp -lhdf5 -lz -lm  -L/usr/X11R6/lib -lGL -lGLU 
> -L/sw/lib/freetype219/lib -lfreetype -lz -Wl,-framework,CoreServices 
> -Wl,-framework,ApplicationServices -lftgl >&5
> conftest.cpp: In function 'int main()':
> conftest.cpp:78: error: 'FTGLTextureFont' was not declared in this scope
> conftest.cpp:78: error: expected `;' before 'font'
> configure:12154: $? = 1
> configure: failed program was:

The #include lines aren't generating errors, so headers are being
found...  And since the configure script succeeded for FTGL/ftgl.h, it
assumes it won't need FTGLTextureFont.h...

Oh no.  Is your file system case-insensitive?

That would not define HAVE_FTGL_UPPERCASE, possibly missing the
branch that includes FTGLTextureFont.h.  If that's the problem,
then the configure tests will need to look *speficially* for
FTGLTextureFont.h rather than testing for case.

Jason, always amazed at how painful freetype is...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]