#22 gtkmm-related build failure

open
Jay H Comm
None
5
2014-08-08
2007-02-24
Darren Salt
No

MainWindow.h:28:30: error: gtkmm/statusicon.h: No such file or directory
MainWindow.h:53: error: ‘StatusIcon’ is not a member of ‘Gtk’
MainWindow.h:53: error: ‘StatusIcon’ is not a member of ‘Gtk’
MainWindow.h:53: error: template argument 1 is invalid

gtkmm 2.8.8 is installed (Debian etch). According to the test in configure.ac, this is new enough - either this test is wrong or use of this header file and any code which depends on it should be compiled if a new enough version is present.

Discussion

  • Darren Salt
    Darren Salt
    2007-03-16

    Fix build to work with older gtkmm, conditionally enabling code which needs newer features

     
  • Darren Salt
    Darren Salt
    2007-03-16

    Logged In: YES
    user_id=294680
    Originator: YES

    File Added: build_with_gtkmm_pre_2_10.patch

     
  • Logged In: YES
    user_id=1499057
    Originator: NO

    gtkmm/statusicon.h is just inside Gtk2.4 version >= 2.10 You need to comment some (three) lines in MainWindow.h and two blocks in MainWindow.cpp.

    I have created an own version without this issue (also with some patches from the Debian maintainer) and will try to put this on my website http://deesaster.org/blog/ as soon as I can.