octave-maintainers
[Top][All Lists]
Advanced

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

[GL2PS] Build errors on default


From: Juan Pablo Carbajal
Subject: [GL2PS] Build errors on default
Date: Wed, 8 Nov 2017 23:48:36 +0100

Hi,

I am having a trouble with gl2ps on Ubuntu 17.10.
when trying to compile default I get the following symbols undefined

./default/libinterp/corefcn/gl2ps-print.cc:197:25: error:
‘GL2PS_LINE_CAP_BUTT’ was not declared in this scope
           gl2psLineCap (GL2PS_LINE_CAP_BUTT);
                         ^~~~~~~~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:197:25: note: suggested
alternative: ‘GL2PS_LINE_STIPPLE’
           gl2psLineCap (GL2PS_LINE_CAP_BUTT);
                         ^~~~~~~~~~~~~~~~~~~
                         GL2PS_LINE_STIPPLE
../default/libinterp/corefcn/gl2ps-print.cc:197:11: error:
‘gl2psLineCap’ was not declared in this scope
           gl2psLineCap (GL2PS_LINE_CAP_BUTT);
           ^~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:197:11: note: suggested
alternative: ‘gl2psLineWidth’
           gl2psLineCap (GL2PS_LINE_CAP_BUTT);
           ^~~~~~~~~~~~
           gl2psLineWidth
../default/libinterp/corefcn/gl2ps-print.cc:199:25: error:
‘GL2PS_LINE_CAP_SQUARE’ was not declared in this scope
           gl2psLineCap (GL2PS_LINE_CAP_SQUARE);
                         ^~~~~~~~~~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:199:25: note: suggested
alternative: ‘GL2PS_LINE_STIPPLE’
           gl2psLineCap (GL2PS_LINE_CAP_SQUARE);
                         ^~~~~~~~~~~~~~~~~~~~~
                         GL2PS_LINE_STIPPLE
../default/libinterp/corefcn/gl2ps-print.cc:199:11: error:
‘gl2psLineCap’ was not declared in this scope
           gl2psLineCap (GL2PS_LINE_CAP_SQUARE);
           ^~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:199:11: note: suggested
alternative: ‘gl2psLineWidth’
           gl2psLineCap (GL2PS_LINE_CAP_SQUARE);
           ^~~~~~~~~~~~
           gl2psLineWidth
../default/libinterp/corefcn/gl2ps-print.cc:201:25: error:
‘GL2PS_LINE_CAP_ROUND’ was not declared in this scope
           gl2psLineCap (GL2PS_LINE_CAP_ROUND);
                         ^~~~~~~~~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:201:25: note: suggested
alternative: ‘GL2PS_DRAW_BACKGROUND’
           gl2psLineCap (GL2PS_LINE_CAP_ROUND);
                         ^~~~~~~~~~~~~~~~~~~~
                         GL2PS_DRAW_BACKGROUND
../default/libinterp/corefcn/gl2ps-print.cc:201:11: error:
‘gl2psLineCap’ was not declared in this scope
           gl2psLineCap (GL2PS_LINE_CAP_ROUND);
           ^~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:201:11: note: suggested
alternative: ‘gl2psLineWidth’
           gl2psLineCap (GL2PS_LINE_CAP_ROUND);
           ^~~~~~~~~~~~
           gl2psLineWidth
../default/libinterp/corefcn/gl2ps-print.cc: In member function
‘virtual void octave::gl2ps_renderer::set_linejoin(const string&)’:
../default/libinterp/corefcn/gl2ps-print.cc:211:24: error:
‘GL2PS_LINE_JOIN_ROUND’ was not declared in this scope
         gl2psLineJoin (GL2PS_LINE_JOIN_ROUND);
                        ^~~~~~~~~~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:211:24: note: suggested
alternative: ‘GL2PS_LINE_STIPPLE’
         gl2psLineJoin (GL2PS_LINE_JOIN_ROUND);
                        ^~~~~~~~~~~~~~~~~~~~~
                        GL2PS_LINE_STIPPLE
../default/libinterp/corefcn/gl2ps-print.cc:211:9: error:
‘gl2psLineJoin’ was not declared in this scope
         gl2psLineJoin (GL2PS_LINE_JOIN_ROUND);
         ^~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:211:9: note: suggested
alternative: ‘gl2psLineWidth’
         gl2psLineJoin (GL2PS_LINE_JOIN_ROUND);
         ^~~~~~~~~~~~~
         gl2psLineWidth
../default/libinterp/corefcn/gl2ps-print.cc:213:24: error:
‘GL2PS_LINE_JOIN_MITER’ was not declared in this scope
         gl2psLineJoin (GL2PS_LINE_JOIN_MITER);
                        ^~~~~~~~~~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:213:24: note: suggested
alternative: ‘GL2PS_LINE_STIPPLE’
         gl2psLineJoin (GL2PS_LINE_JOIN_MITER);
                        ^~~~~~~~~~~~~~~~~~~~~
                        GL2PS_LINE_STIPPLE
../default/libinterp/corefcn/gl2ps-print.cc:213:9: error:
‘gl2psLineJoin’ was not declared in this scope
         gl2psLineJoin (GL2PS_LINE_JOIN_MITER);
         ^~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:213:9: note: suggested
alternative: ‘gl2psLineWidth’
         gl2psLineJoin (GL2PS_LINE_JOIN_MITER);
         ^~~~~~~~~~~~~
         gl2psLineWidth
../default/libinterp/corefcn/gl2ps-print.cc:215:24: error:
‘GL2PS_LINE_JOIN_BEVEL’ was not declared in this scope
         gl2psLineJoin (GL2PS_LINE_JOIN_BEVEL);
                        ^~~~~~~~~~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:215:24: note: suggested
alternative: ‘GL2PS_LINE_STIPPLE’
         gl2psLineJoin (GL2PS_LINE_JOIN_BEVEL);
                        ^~~~~~~~~~~~~~~~~~~~~
                        GL2PS_LINE_STIPPLE
../default/libinterp/corefcn/gl2ps-print.cc:215:9: error:
‘gl2psLineJoin’ was not declared in this scope
         gl2psLineJoin (GL2PS_LINE_JOIN_BEVEL);
         ^~~~~~~~~~~~~
../default/libinterp/corefcn/gl2ps-print.cc:215:9: note: suggested
alternative: ‘gl2psLineWidth’
         gl2psLineJoin (GL2PS_LINE_JOIN_BEVEL)

>From official repositories I have libgl2ps-dev: 1.3.9-4

The only fix is to manually compile and install 1.4.0.

Shouldn't configure give a warning?



reply via email to

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