[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTGL.h not found
From: |
Thomas Treichl |
Subject: |
Re: FTGL.h not found |
Date: |
Fri, 11 Jul 2008 22:33:01 +0200 |
User-agent: |
Thunderbird 2.0.0.14 (Macintosh/20080421) |
John W. Eaton schrieb:
| 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.
I do now. This one was really tricky ;) The check for FTGL/ftgl.h is good, the
test for ftgl.h fails. With this fail the variable warn_graphics ist set to the
string
warn_graphics="FTGL library not found. Native renderer will not have
on-screen text"
The variable warn_graphics is used later for the test of fltk - all fltk tests
are good but warn_graphics is still set. Finally we get to the line 730 in
configure.in
if test "x$warn_graphics" = "x" ; then
->good
else
->bad
and I get into ->bad because the check for ftgl.h failed (long before).
My solution resp. my suggestion would be to initialize warn_graphics once again
for the test of fltk. A changeset for this is attached.
Regards,
Thomas
# HG changeset patch
# User Thomas Treichl <address@hidden>
# Date 1215808210 -7200
# Node ID ad2b6aa8040b0a473897f28259e34b1d18caf197
# Parent 55f6ad8e81d325673ca9e55d47c193dfc54689aa
Update
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 2008-07-10 John W. Eaton <address@hidden
+2008-07-11 Thomas Treichl <address@hidden>
+
+ * configure.in: Fixed test for FLTK if ftgl.h is not found
+
2008-07-10 John W. Eaton <address@hidden>
* octMakefile.in (DIRS_TO_MAKE): Delete $(localfcnfilepath) and
- 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, 2008/07/10
- Re: FTGL.h not found,
Thomas Treichl <=
- 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