octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49561] Compile failure when using --without-o


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #49561] Compile failure when using --without-opengl option.
Date: Tue, 8 Nov 2016 20:24:23 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

URL:
  <http://savannah.gnu.org/bugs/?49561>

                 Summary: Compile failure when using --without-opengl option.
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Tue 08 Nov 2016 08:24:21 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                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:

Trying to build without opengl (so that documentation doesn't fail and an
installation can be done):

$<path_to_base_dir>/configure --without-opengl; make install

, I've found there are some unprotected portions of the Open GL code or this
file libinterp_corefcn_libcorefcn_la-gl-render.cc is mistakenly being built by
the system when it shouldn't:

+verabtim+
  CXX      libinterp/corefcn/libinterp_corefcn_libcorefcn_la-gl-render.lo
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc: In member
function 'void octave::opengl_renderer::draw_axes_x_grid(const
axes::properties&)':
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1435:22:
error: 'GL_LINES' was not declared in this scope
             glBegin (GL_LINES);
                      ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1435:30:
error: 'glBegin' was not declared in this scope
             glBegin (GL_LINES);
                              ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1436:41:
error: 'glVertex3d' was not declared in this scope
             glVertex3d (x_min, 0, zpTick);
                                         ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1438:20:
error: 'glEnd' was not declared in this scope
             glEnd ();
                    ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc: In member
function 'void octave::opengl_renderer::draw_axes_y_grid(const
axes::properties&)':
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1588:22:
error: 'GL_LINES' was not declared in this scope
             glBegin (GL_LINES);
                      ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1588:30:
error: 'glBegin' was not declared in this scope
             glBegin (GL_LINES);
                              ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1589:42:
error: 'glVertex3d' was not declared in this scope
             glVertex3d (0., y_min, zpTick);
                                          ^
/home/sebald/octave/octave/octave/libinterp/corefcn/gl-render.cc:1591:20:
error: 'glEnd' was not declared in this scope
             glEnd ();
                    ^
make[2]: *** [libinterp/corefcn/libinterp_corefcn_libcorefcn_la-gl-render.lo]
Error 1
make[2]: Leaving directory `/usr/local/src/octave/octave/build1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/octave/octave/build1'
make: *** [install] Error 2





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49561>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]