[glade--]Problems with an about box



Hi,
  (I'm not on the list, I'd appreciate a cc reply, but I will look back)
  I'm having a problem getting some code generated by glade-2/glademm
built; the compile error is:

-----------------------------------------
/usr/include/gtkmm-2.0/glibmm/arrayhandle.h: In constructor `
   Glib::ArrayHandle<T, Tr>::ArrayHandle(const Cont&) [with Cont =
char*, T =
   Glib::ustring, Tr =
Glib::Container_Helpers::TypeTraits<Glib::ustring>]':
about2_glade.cc:28:   instantiated from here
/usr/include/gtkmm-2.0/glibmm/arrayhandle.h:375: error: no matching
function
   for call to `
   Glib::Container_Helpers::ArraySourceTraits<Glib::Container_Helpers::TypeTraits<Glib::ustring>,
   char*>::get_size(char* const&)'
/usr/include/gtkmm-2.0/glibmm/arrayhandle.h:97: error: candidates are:
static
   size_t Glib::Container_Helpers::ArraySourceTraits<Tr,
   Cont*>::get_size(typename Tr::CType*) [with Tr =
   Glib::Container_Helpers::TypeTraits<Glib::ustring>, Cont = char]
/usr/include/gtkmm-2.0/glibmm/arrayhandle.h:375: error: no matching
function
   for call to `
   Glib::Container_Helpers::ArraySourceTraits<Glib::Container_Helpers::TypeTraits<Glib::ustring>,
   char*>::get_data(char* const&, size_t&)'
/usr/include/gtkmm-2.0/glibmm/arrayhandle.h:100: error: candidates are:
static
   typename Tr::CType* Glib::Container_Helpers::ArraySourceTraits<Tr,
   Cont*>::get_data(typename Tr::CType*, unsigned int) [with Tr =
   Glib::Container_Helpers::TypeTraits<Glib::ustring>, Cont = char]
make[2]: *** [about2_glade.o] Error 1
-----------------------------------------
(Don't you just love template expansion problems....)
which seems to originate from the line in about2_glade.cc that says:

about2_glade::about2_glade(
) : Gnome::UI::About(PACKAGE, VERSION, "(c) 2003 Dr. David Alan
Gilbert", about2_authors, _("A special entry package for real world,
large scale designs  -  and everyone else."), "esch.xpm")
{  about2 = this;

To me it looks like there should be other parameters passed to the About
constructor (documentors, translators etc) that aren't there - but I'm
new to Gnome2 stuff.

This happens on the version of glademm in Debian/sid and the latest 2.0
version of glademm.

Suggestions welcome.

Dave
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/



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