[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTGL.h not found
From: |
John W. Eaton |
Subject: |
Re: FTGL.h not found |
Date: |
Thu, 10 Jul 2008 17:36:56 -0400 |
On 10-Jul-2008, Thomas Treichl wrote:
| John W. Eaton schrieb:
| > On 10-Jul-2008, John W. Eaton wrote:
| >
| > | So do we agree that the configure script and sources should be changed
| > | to look for and use ftgl.h?
| >
| > After taking a closer look, I don't see any FTGL headers included
| > anywhere in the Octave sources, and the configure test actually
| > includes FTGLTextureFont.h, so it seems we should check for that
| > instead. I made that change, but then the check still failed, so I
| > finally looked in the config.log file and found that FTGLTextureFont.h
| > is deprecated, so ftgl.h should be used instead.
|
| The current test for ftgl fails on my system (MacOSX, gcc-4.0.1) because
'#fi'
| isn't understood by my preprocessor:
Doh. Yeah, that was just a brain glitch. I fixed it.
| configure: WARNING: FTGL library not found. Native renderer will not have
| on-screen text
|
| and
|
| fltk backend libs:
|
| I removed the ftgl.h entry and then the test succeeded and FTGL/ftgl.h is
used
| correctly:
|
| fltk backend libs: -lfltk_gl -framework AGL -framework OpenGL -lfltk
| -framework Carbon -framework ApplicationServices
|
| I have created a normal patch because my changes are not a solution for this
| (that's why I don't send a changeset) ...
I think we need to check for ftgl.h, at least if FTGL/ftgl.h is not
found since I don't see any reason to assume that ftgl.h will always
be installed in a directory called FTGL on all systems. Looking at
the other checks for header files, I assumed that listing both in the
AC_CHECK_HEADERS macro would be OK, and I don't understand why it is
failing for you.
jwe
- FTGL.h not found, John W. Eaton, 2008/07/09
- Re: FTGL.h not found, Shai Ayal, 2008/07/09
- Re: FTGL.h not found, Thomas Weber, 2008/07/10
- Re: FTGL.h not found, Shai Ayal, 2008/07/10
- Re: FTGL.h not found, Thomas Weber, 2008/07/10
- Re: FTGL.h not found, John W. Eaton, 2008/07/10
- Re: FTGL.h not found, John W. Eaton, 2008/07/10
- Re: FTGL.h not found, Thomas Treichl, 2008/07/10
- Re: FTGL.h not found,
John W. Eaton <=
- Re: FTGL.h not found, Thomas Treichl, 2008/07/11
- Re: FTGL.h not found, Thomas Treichl, 2008/07/11
- Re: FTGL.h not found, David Bateman, 2008/07/17
- Re: FTGL.h not found, David Bateman, 2008/07/17
- Re: FTGL.h not found, Jaroslav Hajek, 2008/07/17
- Re: FTGL.h not found, John W. Eaton, 2008/07/18
- Re: FTGL.h not found, Jaroslav Hajek, 2008/07/18
- Re: FTGL.h not found, John W. Eaton, 2008/07/21
- Re: FTGL.h not found, Michael Goffioul, 2008/07/21
- Re: FTGL.h not found, Thomas Weber, 2008/07/27