|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #48724] compilation failure with --without-opengl in opengl_renderer::draw_all_lights |
| Date: | Mon, 8 Aug 2016 19:16:42 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
URL:
<http://savannah.gnu.org/bugs/?48724>
Summary: compilation failure with --without-opengl in
opengl_renderer::draw_all_lights
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Mon 08 Aug 2016 12:16:39 PM PDT
Category: Configuration and Build System
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Build with --without-opengl fails with
../libinterp/corefcn/gl-render.cc: In member function ‘void
opengl_renderer::draw_all_lights(const base_properties&,
std::__cxx11::list<graphics_object>&)’:
../libinterp/corefcn/gl-render.cc:1665:35: error: ‘GL_LIGHT0’ was not
declared in this scope
current_light = GL_LIGHT0 + num_lights;
^~~~~~~~~
../libinterp/corefcn/gl-render.cc: At global scope:
../libinterp/corefcn/gl-render.cc:591:1: warning: ‘int get_maxlights()’
defined but not used [-Wunused-function]
get_maxlights (void)
^~~~~~~~~~~~~
This was introduced with
http://hg.savannah.gnu.org/hgweb/octave/rev/20b225a3ebf8. Adding mmuetzel to
cc.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48724>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |