Skip to content

Instantly share code, notes, and snippets.

@su-v
Created May 25, 2015 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save su-v/ba21869dc538149dff16 to your computer and use it in GitHub Desktop.
Save su-v/ba21869dc538149dff16 to your computer and use it in GitHub Desktop.
Inkscape 0.91+devel GTK3 build failure
Chillida:mptrunk-quartz-clang su_v$ (cd build-gtk3/; make -k)
make all-recursive
Making all in src
make all-am
CXX extension/internal/pdfinput/pdf-input.o
../../src/extension/internal/pdfinput/pdf-input.cpp:127:10: error: incomplete type 'Gtk::RadioButton' named in nested name specifier
Gtk::RadioButton::Group group;
~~~~~^~~~~~~~~~~~~
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:128:65: error: use of undeclared identifier 'group'; did you mean 'sigc::group'?
_importViaPoppler = Gtk::manage(new class Gtk::RadioButton(group,_("Poppler/Cairo import")));
^~~~~
sigc::group
/Volumes/magenta/mp-trunk/quartz/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:782:1: note: 'sigc::group' declared here
group(const T_functor& _A_func, T_type1 _A_1)
^
../../src/extension/internal/pdfinput/pdf-input.cpp:128:42: error: allocation of incomplete type 'class Gtk::RadioButton'
_importViaPoppler = Gtk::manage(new class Gtk::RadioButton(group,_("Poppler/Cairo import")));
^~~~~~~~~~~~~~~~~~~~~~
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:130:65: error: use of undeclared identifier 'group'; did you mean 'sigc::group'?
_importViaInternal = Gtk::manage(new class Gtk::RadioButton(group,_("Internal import")));
^~~~~
sigc::group
/Volumes/magenta/mp-trunk/quartz/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:782:1: note: 'sigc::group' declared here
group(const T_functor& _A_func, T_type1 _A_1)
^
../../src/extension/internal/pdfinput/pdf-input.cpp:130:42: error: allocation of incomplete type 'class Gtk::RadioButton'
_importViaInternal = Gtk::manage(new class Gtk::RadioButton(group,_("Internal import")));
^~~~~~~~~~~~~~~~~~~~~~
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:213:22: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaPoppler->set_can_focus();
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:214:22: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaPoppler->set_relief(Gtk::RELIEF_NORMAL);
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:215:22: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaPoppler->set_mode(true);
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:216:22: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaPoppler->set_active(false);
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:217:23: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaInternal->set_can_focus();
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:218:23: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaInternal->set_relief(Gtk::RELIEF_NORMAL);
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:219:23: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaInternal->set_mode(true);
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:256:12: error: no matching member function for call to 'pack_start'
vbox3->pack_start(*_importViaPoppler, Gtk::PACK_SHRINK, 0);
~~~~~~~^~~~~~~~~~
/Volumes/magenta/mp-trunk/quartz/include/gtkmm-3.0/gtkmm/box.h:208:8: note: candidate function not viable: cannot convert argument of incomplete type
'class Gtk::RadioButton' to 'Gtk::Widget &'
void pack_start(Widget& child, PackOptions options = PACK_EXPAND_WIDGET, guint padding = 0);
^
/Volumes/magenta/mp-trunk/quartz/include/gtkmm-3.0/gtkmm/box.h:201:8: note: candidate function not viable: cannot convert argument of incomplete type
'class Gtk::RadioButton' to 'Gtk::Widget &'
void pack_start(Widget& child, bool expand, bool fill, guint padding = 0);
^
../../src/extension/internal/pdfinput/pdf-input.cpp:258:12: error: no matching member function for call to 'pack_start'
vbox3->pack_start(*_importViaInternal, Gtk::PACK_SHRINK, 0);
~~~~~~~^~~~~~~~~~
/Volumes/magenta/mp-trunk/quartz/include/gtkmm-3.0/gtkmm/box.h:208:8: note: candidate function not viable: cannot convert argument of incomplete type
'class Gtk::RadioButton' to 'Gtk::Widget &'
void pack_start(Widget& child, PackOptions options = PACK_EXPAND_WIDGET, guint padding = 0);
^
/Volumes/magenta/mp-trunk/quartz/include/gtkmm-3.0/gtkmm/box.h:201:8: note: candidate function not viable: cannot convert argument of incomplete type
'class Gtk::RadioButton' to 'Gtk::Widget &'
void pack_start(Widget& child, bool expand, bool fill, guint padding = 0);
^
../../src/extension/internal/pdfinput/pdf-input.cpp:306:22: error: member access into incomplete type 'class Gtk::RadioButton'
_importViaPoppler->signal_toggled().connect(sigc::mem_fun(*this, &PdfImportDialog::_onToggleImport));
^
../../src/extension/internal/pdfinput/pdf-input.h:47:9: note: forward declaration of 'Gtk::RadioButton'
class RadioButton;
^
../../src/extension/internal/pdfinput/pdf-input.cpp:316:16: error: no member named 'path_is_absolute' in namespace 'Glib'
if (!Glib::path_is_absolute(filename)) {
~~~~~~^
../../src/extension/internal/pdfinput/pdf-input.cpp:317:26: error: no member named 'build_filename' in namespace 'Glib'
filename = Glib::build_filename(Glib::get_current_dir(),filename);
~~~~~~^
../../src/extension/internal/pdfinput/pdf-input.cpp:317:47: error: no member named 'get_current_dir' in namespace 'Glib'
filename = Glib::build_filename(Glib::get_current_dir(),filename);
~~~~~~^
../../src/extension/internal/pdfinput/pdf-input.cpp:319:36: error: no member named 'filename_to_uri' in namespace 'Glib'
Glib::ustring full_uri = Glib::filename_to_uri(filename);
~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [extension/internal/pdfinput/pdf-input.o] Error 1
make[3]: Target `all-am' not remade because of errors.
make[2]: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment