[gtkmm] Compilation problem



I get the following error when trying to compile gtkmm 2.2.8:

g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I../../glib
-I../../glib -I../../pango -I../../pango -I../../atk -I../../atk
-I../../gdk -I../../gdk -I../../gtk -I../../gtk
-I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-g -O2 -Wall -MT convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.cc 
-fPIC -DPIC -o .libs/convert.o
In file included from ../../glib/glibmm/exception.h:25,
                 from ../../glib/glibmm/error.h:28,
                 from ../../glib/glibmm/convert.h:29,
                 from convert.cc:3:
../../glib/glibmm/ustring.h:532: error: `template<class In, class
ValueType =
   typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:548: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class
ValueType =
   typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:554: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class
ValueType =
   typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:560: error: within this context
../../glib/glibmm/ustring.h:532: error: `template<class In, class
ValueType =
   typename std::iterator_traits<_Iterator>::value_type> struct
   Glib::ustring::SequenceToString' is private
../../glib/glibmm/ustring.h:566: error: within this context
make[5]: *** [convert.lo] Error 1

The compiler:

gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)

Any suggestions or requests for further information gratefully received.

Steve




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