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: Ben Abbott
Subject: Re: No FTGL, says configure script?
Date: Fri, 24 Oct 2008 16:41:06 -0400

On Friday, October 24, 2008, at 01:33PM, "Jason Riedy" <address@hidden> wrote:
>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...
>

Yes my file system is case-insensitive.

Regarding the resolution, can you offer some advice filtered for the 
"configure-impaired" ;-)

Do you suggest that I ...

export HAVE_FTGL_UPPERCASE=1

... or do I need to do some tweaking to configure.in?

Ben






reply via email to

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