[gtkmm] Compile problem: Glib::ustring::SequenceToString is private



Hi,
I'm a Gtk beginner. I want to compile a empty glade project (using gtkmm).
But I get every time this errors:

-------------------------------------------------------------------------------------------

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtkmm-2.0 
-I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 
-I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/include/freetype2 -I/usr/include/atk-1.0     -Wall -O1 -g  -MT 
gprim-window1_glade.o -MD -MP -MF ".deps/gprim-window1_glade.Tpo" \
  -c -o gprim-window1_glade.o `test -f 'window1_glade.cc' || echo 
'./'`window1_glade.cc; \
then mv ".deps/gprim-window1_glade.Tpo" ".deps/gprim-window1_glade.Po"; \
else rm -f ".deps/gprim-window1_glade.Tpo"; exit 1; \
fi
In file included from 
/usr/include/gtkmm-2.0/glibmm/containerhandle_shared.h:34,
                 from /usr/include/gtkmm-2.0/glibmm/arrayhandle.h:24,
                 from /usr/include/gtkmm-2.0/glibmm.h:26,
                 from /usr/include/gtkmm-2.0/gtkmm/accelgroup.h:6,
                 from window1_glade.hh:16,
                 from window1_glade.cc:37:
/usr/include/gtkmm-2.0/glibmm/ustring.h:532: error: `template<class In, class
   ValueType = typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
/usr/include/gtkmm-2.0/glibmm/ustring.h:548: error: within this context
/usr/include/gtkmm-2.0/glibmm/ustring.h:532: error: `template<class In, class
   ValueType = typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
/usr/include/gtkmm-2.0/glibmm/ustring.h:554: error: within this context
/usr/include/gtkmm-2.0/glibmm/ustring.h:532: error: `template<class In, class
   ValueType = typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
/usr/include/gtkmm-2.0/glibmm/ustring.h:560: error: within this context
/usr/include/gtkmm-2.0/glibmm/ustring.h:532: error: `template<class In, class
   ValueType = typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
/usr/include/gtkmm-2.0/glibmm/ustring.h:566: error: within this context
make[2]: *** [gprim-window1_glade.o] Fehler 1
make[2]: Leaving directory `/home/benni/Projects/gprim/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/benni/Projects/gprim'
make: *** [all] Fehler 2

-------------------------------------------------------------------------------------------

My configuration:
Suse 8.2 (glibc 2.3.2)
with following updates:

atk-1.4.0-0
glade-2-2.0
glademm-2.0.0.1-2
libgtkmm2.0-2.2.8-2 
libsigc++-1.2.5-0
pango-1.2.5

Thanks in advance
MisterM




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