John W. Eaton wrote:
On 9-Feb-2009, Jonathan Stickel wrote:
| On 2/6/09 address@hidden wrote:
| > +. Graphics:
| > + Refactor base_properties
| > + Specific types for properties with improved property value
| > checking
| > + Implement the addprops function allow additional properties
| > to objects
| > + add the hggroup object that has no fixed properties for use
| > by barseries, etc.
| > + Add callback DeleteFcn/CreateFcn to objects
| > + Allow listener functions to be added to objects
| > + Clean separation of backend from property database
| > + Implement experimental backend based on OpenGL and GUI
| > toolkit
| | I have been interested for some time now to hack around with the new
| OpenGL backend. However, the FTGL text dependency was not detected |
properly on my Mac (OS X 10.4.11). After a recent mercurial update, |
this
problem still exists:
| | configure: WARNING: "FTGL library not found. Native renderer will
not
| have on-screen text"
| configure: WARNING:
| configure: WARNING: I didn't find the necessary libraries to compile
native
| configure: WARNING: graphics. It isn't necessary to have native
graphics
| configure: WARNING: but you will have to use gnuplot or you won't be
able
| configure: WARNING: to use any of Octave's plotting commands
| configure: WARNING:
| | I do have ftgl-2.1.2 installed via Macports. Anyway, it would be
nice
| if this could be resolved before the next snapshot. I remember quite
a |
long thread about this problem some time ago, but I don't remember what
|
the conclusion was. I am willing to help debug if someone can suggest |
something for me to try.
It's unlikely to be resolved unless it's reported, and this is the
first I'ver heard of the problem in quite some time as I thought we
fixed it.
You could start by showing the relevant part of config.log, so we
could see why the test fails.
As I recall, I used to have to add
-I/usr/include/freetype2
to CPPFLAGS on my system when running configure, but I think we fixed
that problem as it no longer seems to be required.
Here is what seems to be the FTGL test in config.log:
configure:12370: checking FTGL/ftgl.h usability
configure:12387: g++ -c -I/usr/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include conftest.cpp >&5
configure:12394: $? = 0
configure:12408: result: yes
configure:12412: checking FTGL/ftgl.h presence
configure:12427: g++ -E -I/opt/local/include
-I/opt/local/include/freetype2
-I/opt/local/include conftest.cpp
configure:12434: $? = 0
configure:12448: result: yes
configure:12476: checking for FTGL/ftgl.h
configure:12485: result: yes
configure:12659: checking for FTGLTextureFont in -lftgl
configure:12699: g++ -o conftest -I/usr/local/include
-I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -L/usr/local/lib
-L/opt/local/lib -lmetis conftest.cpp -lhdf5 -lz -lm -Wl,-framework
-Wl,Carbon -L/usr/X11R6/lib -lGL -lGLU -L/opt/local/lib -lfreetype -lz
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -lftgl >&5
conftest.cpp: In function 'int main()':
conftest.cpp:81: error: 'FTGLTextureFont' was not declared in this scope
conftest.cpp:81: error: expected `;' before 'font'
configure:12706: $? = 1
configure: failed program was:
| /* confdefs.h. */