[gtkmm] can't compile hello world



I'm trying to get gtkmm setup and I get this error trying to compile the sample hello world program from the doc. Is there a file(s) I'm missing? I'm using Debian Sarge and I've got these packages insalled:

libgtkmm-2.4-dev
libsigc++-2.0-dev
libglibmm-2.4-dev


error:
===========================================================================================

rob optimus:~/gui/gtkmm$ g++ hello.C -o hello `pkg-config gtkmm-2.4 --cflags --libs` In file included from /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h:26, from /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h:30,
                 from /usr/include/sigc++-2.0/sigc++/sigc++.h:26,
                 from /usr/include/glibmm-2.4/glibmm/dispatcher.h:24,
                 from /usr/include/glibmm-2.4/glibmm.h:32,
                 from /usr/include/gtkmm-2.4/gtkmm.h:29,
                 from hello.C:1:
/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:79: error: non-template `deduce_result_type' used as template /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:79: note: use `typename sigc::adaptor_trait<T_functor, sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template deduce_result_type' to indicate that it is a template /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:82: error: declaration does not declare anything /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:245: error: non-template `deduce_result_type' used as template /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:245: note: use `typename sigc::adaptor_trait<T_functor, sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template deduce_result_type' to indicate that it is a template /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:250: error: declaration does not declare anything /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:458: error: non-template `deduce_result_type' used as template /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:458: note: use `typename sigc::adaptor_trait<T_functor, sigc::is_base_and_derived<sigc::adaptor_base,T_functor>::value>::adaptor_type::template deduce_result_type' to indicate that it is a template /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h:465: error: declaration does not declare anything rob optimus:~/gui/gtkmm$ dpkg -S /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h
libsigc++-2.0-dev: /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h



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