openAVproductions / openAV-Luppp

Luppp is a live performance tool, created by OpenAV productions.
http://openavproductions.com/luppp
GNU General Public License v3.0
258 stars 44 forks source link

Git master fails to build #186

Closed prokoudine closed 6 years ago

prokoudine commented 7 years ago
[  2%] Building CXX object src/CMakeFiles/luppp.dir/diskreader.cxx.o
In file included from /home/alex/soft/sound/luppp/src/goptions.hxx:37:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:28,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h: In member function 'virtual void Avtk::Button::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:102:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:102:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:102:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:104:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:106:44: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x+1, y+1, w-2, h-2 );
                                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:108:48: error: 'cairo_set_source_rgb' was not declared in this scope
     cairo_set_source_rgb( cr, _bgr, _bgg, _bgb );
                                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:111:48: error: 'cairo_set_source_rgb' was not declared in this scope
     cairo_set_source_rgb( cr, grey, grey, grey );
                                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:113:26: error: 'cairo_fill_preserve' was not declared in this scope
    cairo_fill_preserve(cr);
                          ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:115:32: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 1.3);
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:119:46: error: 'cairo_set_source_rgba' was not declared in this scope
     cairo_set_source_rgba(cr, _r, _g, _b, 0.4);
                                              ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:128:49: error: 'cairo_set_source_rgba' was not declared in this scope
     cairo_set_source_rgba(cr,  _r, _g, _b, alpha);
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:131:48: error: 'cairo_set_source_rgb' was not declared in this scope
     cairo_set_source_rgb( cr, grey, grey, grey );
                                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:136:19: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke(cr);
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_button.h:138:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/goptions.hxx:38:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:28,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h: In member function 'virtual void Avtk::LightButton::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:88:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:88:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:88:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:90:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:92:44: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x+1, y+1, w-2, h-2 );
                                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:93:53: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba( cr, _bgr, _bgg, _bgb, 0.4 );
                                                     ^
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:94:26: error: 'cairo_fill_preserve' was not declared in this scope
    cairo_fill_preserve(cr);
                          ^
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:96:32: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 1.5);
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:108:19: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke(cr);
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_light_button.h:110:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gtrack.hxx:30:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:31,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h: In member function 'virtual void Avtk::Box::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:77:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:77:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:77:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:79:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:81:32: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 1.5);
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:84:35: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x, y, w, h);
                                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:85:42: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba( cr, r, g, b, 1 );
                                          ^
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:86:19: error: 'cairo_fill' was not declared in this scope
    cairo_fill( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_box.h:95:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gtrack.hxx:31:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:31,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h: In member function 'virtual void Avtk::Dial::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:95:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:95:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:95:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:97:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:99:36: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x, y, w, h );
                                    ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:100:47: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba(cr, 1.1, 0.1, 0.1, 0 );
                                               ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:101:17: error: 'cairo_fill' was not declared in this scope
    cairo_fill(cr);
                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:103:28: error: 'CAIRO_LINE_JOIN_ROUND' was not declared in this scope
    cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND);
                            ^~~~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:103:49: error: 'cairo_set_line_join' was not declared in this scope
    cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND);
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:104:27: error: 'CAIRO_LINE_CAP_ROUND' was not declared in this scope
    cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND);
                           ^~~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:104:47: error: 'cairo_set_line_cap' was not declared in this scope
    cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND);
                                               ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:106:42: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, lineWidth-0.2);
                                          ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:107:34: error: 'cairo_move_to' was not declared in this scope
    cairo_move_to( cr, x+w/2,y+h/2);
                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:108:34: error: 'cairo_line_to' was not declared in this scope
    cairo_line_to( cr, x+w/2,y+h/2);
                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:110:19: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke(cr);
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:112:50: error: 'cairo_arc' was not declared in this scope
    cairo_arc(cr, x+w/2,y+h/2, radius, 2.46, 0.75 );
                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:113:43: error: 'cairo_set_source_rgb' was not declared in this scope
    cairo_set_source_rgb(cr, 0.1, 0.1, 0.1 );
                                           ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:125:60: error: 'cairo_arc_negative' was not declared in this scope
      cairo_arc_negative(cr, x+w/2,y+h/2, radius, mid, angle);
                                                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_dial.h:132:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gtrack.hxx:33:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:31,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h: In member function 'virtual void Avtk::Background::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:68:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:68:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:68:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:70:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:72:32: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 1.5);
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:76:35: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x, y, w, h);
                                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:77:73: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba( cr, 28 / 255.f,  28 / 255.f ,  28 / 255.f , 1 );
                                                                         ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:78:19: error: 'cairo_fill' was not declared in this scope
    cairo_fill( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:83:68: error: 'cairo_set_source_rgb' was not declared in this scope
    cairo_set_source_rgb( cr, 28 / 255.f,  28 / 255.f ,  28 / 255.f );
                                                                    ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:87:38: error: 'cairo_move_to' was not declared in this scope
    cairo_move_to( cr, x + 10, y + 14 );
                                      ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:89:32: error: 'cairo_set_font_size' was not declared in this scope
    cairo_set_font_size( cr, 10 );
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:90:31: error: 'cairo_show_text' was not declared in this scope
    cairo_show_text( cr, label );
                               ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:94:37: error: 'cairo_line_to' was not declared in this scope
    cairo_line_to( cr, x + w, y + 20 );
                                     ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:95:21: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke( cr );
                     ^
/home/alex/soft/sound/luppp/src/avtk/avtk_background.h:104:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gtrack.hxx:35:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:31,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h: In member function 'virtual void Avtk::RadialStatus::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:96:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:96:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:96:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:98:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:108:29: error: 'CAIRO_LINE_CAP_ROUND' was not declared in this scope
    cairo_set_line_cap ( cr, CAIRO_LINE_CAP_ROUND );
                             ^~~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:108:50: error: 'cairo_set_line_cap' was not declared in this scope
    cairo_set_line_cap ( cr, CAIRO_LINE_CAP_ROUND );
                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:110:82: error: 'cairo_arc' was not declared in this scope
    cairo_arc( cr, x + xc, y + yc, radius, -(3.1415/2), angle * 6.28 - (3.1415/2) );
                                                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:111:50: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.5 );
                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:112:31: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 12);
                               ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:113:28: error: 'cairo_stroke_preserve' was not declared in this scope
    cairo_stroke_preserve(cr);
                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:117:19: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke(cr);
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:124:27: error: 'cairo_fill_preserve' was not declared in this scope
     cairo_fill_preserve(cr);
                           ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:138:17: error: 'cairo_fill' was not declared in this scope
    cairo_fill(cr);
                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_radial_status.h:140:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gunittrack.hxx:28:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:32,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h: In member function 'virtual void Avtk::Unit::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:97:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:97:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:97:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:99:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:101:50: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x+2, y + 2, w - 2, h - 2 );
                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:102:72: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba(cr, 66 / 255.f,  66 / 255.f ,  66 / 255.f, 0.4);
                                                                        ^
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:103:17: error: 'cairo_fill' was not declared in this scope
    cairo_fill(cr);
                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:131:33: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width( cr, 1.4);
                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:132:21: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke( cr );
                     ^
/home/alex/soft/sound/luppp/src/avtk/avtk_unit.h:134:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gmastertrack.hxx:33:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:33,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h: In member function 'virtual void Avtk::Reverb::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:104:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:104:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:104:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:106:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:109:36: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x, y, w, h );
                                    ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:110:68: error: 'cairo_set_source_rgb' was not declared in this scope
    cairo_set_source_rgb( cr,28 / 255.f,  28 / 255.f ,  28 / 255.f  );
                                                                    ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:111:17: error: 'cairo_fill' was not declared in this scope
    cairo_fill(cr);
                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:118:39: error: 'cairo_set_dash' was not declared in this scope
    cairo_set_dash ( cr, dashes, 1, 0.0);
                                       ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:121:32: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 1.0);
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:124:45: error: 'cairo_move_to' was not declared in this scope
     cairo_move_to( cr, x + ((w / 4.f)*i), y );
                                             ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:125:49: error: 'cairo_line_to' was not declared in this scope
     cairo_line_to( cr, x + ((w / 4.f)*i), y + h );
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:128:49: error: 'cairo_move_to' was not declared in this scope
     cairo_move_to( cr, x    , y + ((h / 4.f)*i) );
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:129:49: error: 'cairo_line_to' was not declared in this scope
     cairo_line_to( cr, x + w, y + ((h / 4.f)*i) );
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:131:76: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba( cr,  66 / 255.f,  66 / 255.f ,  66 / 255.f , 0.5 );
                                                                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:132:19: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke(cr);
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:136:70: error: 'cairo_move_to' was not declared in this scope
    cairo_move_to( cr, x+w*0.1              , y + h*0.85 - (h*0.7*amp));
                                                                      ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:137:70: error: 'cairo_line_to' was not declared in this scope
    cairo_line_to( cr, x+w*0.1 + (w-20)*damp, y + h*0.85 - (h*0.7*amp));
                                                                      ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:139:29: error: 'CAIRO_LINE_JOIN_ROUND' was not declared in this scope
    cairo_set_line_join( cr, CAIRO_LINE_JOIN_ROUND);
                             ^~~~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:139:50: error: 'cairo_set_line_join' was not declared in this scope
    cairo_set_line_join( cr, CAIRO_LINE_JOIN_ROUND);
                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:140:29: error: 'CAIRO_LINE_CAP_ROUND' was not declared in this scope
    cairo_set_line_cap ( cr, CAIRO_LINE_CAP_ROUND);
                             ^~~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:140:49: error: 'cairo_set_line_cap' was not declared in this scope
    cairo_set_line_cap ( cr, CAIRO_LINE_CAP_ROUND);
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:151:26: error: 'cairo_fill_preserve' was not declared in this scope
    cairo_fill_preserve(cr);
                          ^
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:173:30: error: 'CAIRO_LINE_CAP_BUTT' was not declared in this scope
     cairo_set_line_cap ( cr, CAIRO_LINE_CAP_BUTT);
                              ^~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_reverb.h:177:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
In file included from /home/alex/soft/sound/luppp/src/gmastertrack.hxx:36:0,
                 from /home/alex/soft/sound/luppp/src/gui.hxx:33,
                 from /home/alex/soft/sound/luppp/src/diskreader.cxx:29:
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h: In member function 'virtual void Avtk::SidechainGain::draw()':
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:110:4: error: 'cairo_t' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
    ^~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:110:13: error: 'cr' was not declared in this scope
    cairo_t *cr = Fl::cairo_cc();
             ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:110:18: error: 'cairo_cc' is not a member of 'Fl'
    cairo_t *cr = Fl::cairo_cc();
                  ^~
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:112:19: error: 'cairo_save' was not declared in this scope
    cairo_save( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:114:32: error: 'cairo_set_line_width' was not declared in this scope
    cairo_set_line_width(cr, 1.5);
                                ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:118:35: error: 'cairo_rectangle' was not declared in this scope
    cairo_rectangle( cr, x, y, w, h);
                                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:119:69: error: 'cairo_set_source_rgb' was not declared in this scope
    cairo_set_source_rgb( cr, 28 / 255.f,  28 / 255.f ,  28 / 255.f  );
                                                                     ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:120:28: error: 'cairo_fill_preserve' was not declared in this scope
    cairo_fill_preserve( cr );
                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:121:19: error: 'cairo_clip' was not declared in this scope
    cairo_clip( cr );
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:128:39: error: 'cairo_set_dash' was not declared in this scope
    cairo_set_dash ( cr, dashes, 1, 0.0);
                                       ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:135:45: error: 'cairo_move_to' was not declared in this scope
     cairo_move_to( cr, x + ((w / 4.f)*i), y );
                                             ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:136:49: error: 'cairo_line_to' was not declared in this scope
     cairo_line_to( cr, x + ((w / 4.f)*i), y + h );
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:139:49: error: 'cairo_move_to' was not declared in this scope
     cairo_move_to( cr, x    , y + ((h / 4.f)*i) );
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:140:49: error: 'cairo_line_to' was not declared in this scope
     cairo_line_to( cr, x + w, y + ((h / 4.f)*i) );
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:143:76: error: 'cairo_set_source_rgba' was not declared in this scope
    cairo_set_source_rgba( cr,  66 / 255.f,  66 / 255.f ,  66 / 255.f , 0.5 );
                                                                            ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:144:19: error: 'cairo_stroke' was not declared in this scope
    cairo_stroke(cr);
                   ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:149:70: error: 'cairo_move_to' was not declared in this scope
    cairo_move_to( cr, x + w * 0.750 - (w * 0.5 * (1-_threshold)), y  );
                                                                      ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:151:114: error: 'cairo_line_to' was not declared in this scope
    cairo_line_to( cr, x + w * 0.750 - (w * 0.5 * (1-_threshold)) + _sidechainAmp* _reduce*( w * 0.5 ), y + h / 2 );
                                                                                                                  ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:157:25: error: 'cairo_close_path' was not declared in this scope
    cairo_close_path( cr );
                         ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:198:30: error: 'CAIRO_LINE_CAP_BUTT' was not declared in this scope
     cairo_set_line_cap ( cr, CAIRO_LINE_CAP_BUTT);
                              ^~~~~~~~~~~~~~~~~~~
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:198:49: error: 'cairo_set_line_cap' was not declared in this scope
     cairo_set_line_cap ( cr, CAIRO_LINE_CAP_BUTT);
                                                 ^
/home/alex/soft/sound/luppp/src/avtk/avtk_sidechain_gain.h:202:22: error: 'cairo_restore' was not declared in this scope
    cairo_restore( cr );
                      ^
src/CMakeFiles/luppp.dir/build.make:134: recipe for target 'src/CMakeFiles/luppp.dir/diskreader.cxx.o' failed
make[2]: *** [src/CMakeFiles/luppp.dir/diskreader.cxx.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/luppp.dir/all' failed
make[1]: *** [src/CMakeFiles/luppp.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I'm on Debian Unstable.

harryhaaren commented 7 years ago

Hey @prokoudine, how do you have NTK installed? Built yourself, into /usr/local? Reason I ask is there was a similar issue just last week with a very similar error: https://github.com/openAVproductions/openAV-Luppp/issues/183, particularly this comment about the "spec", which changes a few settings in CMake: https://github.com/openAVproductions/openAV-Luppp/issues/183#issuecomment-299563881

I don't know why this is showing now but hasn't been before - if you have any ideas please say, I'd like to understand the root cause :) -Harry

prokoudine commented 7 years ago

I may have built and installed myself. It's in /usr/include/ntk/.

$ pkg-config --modversion ntk 1.3.0

harryhaaren commented 7 years ago

Hey @prokoudine, did you root cause this? I was AFK a few days, but figured I'd check in now to see if there's progress :)