This is just because the current libpoppler-glib-dev depends on libgtk2.0-dev instead of libgtk3.0-dev. It uses GDK in its API, for instance. This would happen to people using GTK+ 3, not just gtkmm 3.
However, GDK is only used by include files when POPPLER_WITH_GDK is defined. POPPLER_WITH_GDK is apparently defined during the poppler build, and I don't think Ubuntu's libpoppler-glib was really built with that defined. So maybe the dependency is unnecessary. Reassigning to libpoppler-glib-dev for investigation there. If GTK+ (or GDK) really is needed, it would be great if libpoppler was ported to GTK+ 3, but that doesn't seem to have even happened upstream yet. ** Package changed: gtkmm3.0 (Ubuntu) => poppler (Ubuntu) ** Summary changed: - Compile error if linking against gtkmm-3.0 and poppler-glib + Compile error if linking against GTK+ 3 and poppler-glib via pkg-config -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/870662 Title: Compile error if linking against GTK+ 3 and poppler-glib via pkg- config To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/870662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs