[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fltk backend and undefined gluOrtho2D
From: |
teuobk |
Subject: |
Re: fltk backend and undefined gluOrtho2D |
Date: |
Tue, 21 Jul 2009 15:24:51 -0700 (PDT) |
John W. Eaton-3 wrote:
>
> On 16-Jul-2009, Alexander Barth wrote:
>
> | Hi all,
> | I try to compile a recent checkout of octave (from
> | http://www.octave.org/hg/octave). The compilation fails at:
> |
> | ./DLD-FUNCTIONS/fltk_backend.cc: In member function �1rxvirtual void
> | OpenGL_fltk::draw_overlay()�1ry:
> | ./DLD-FUNCTIONS/fltk_backend.cc:145: error: �1rxgluOrtho2D�1ry was not
> | declared in this scope
> |
> | I have fltk version 1.1.7. Is this version recent enough? On my system
> | gluOrtho2D is declared in /usr/include/GL/glu.h but this file is not
> | included in fltk_backend.cc.
>
> On my system, /usr/include/GL/glu.h is part of the libglu1-mesa-dev
> package, and the version of that package is 7.0.3. I also have
> version 1.1.9 of libfltk1.1-dev.
>
Ran into this problem, too. I have fltk 1.1.9 on an Intrepid-release Ubuntu
box, and I was trying to compile Octave 3.2.0 from source. My solution was
to edit fltk_backend.cc to #include <FL/glu.h> . Now everything builds
fine, and all of the integrated tests pass.
Jeff Keacher
--
View this message in context:
http://www.nabble.com/fltk-backend-and-undefined-gluOrtho2D-tp24513000p24596921.html
Sent from the Octave - General mailing list archive at Nabble.com.