Re: ERROR : Gtk::Builder::get_widget(): dynamic_cast<> failed



Ok I have already solved that. The problem was that I tried to extract references from de .xml file before I created the Gtk::Main instance, as you pointed.

Thank you

On Wed, Feb 24, 2010 at 6:59 PM, Murray Cumming <murrayc murrayc com> wrote:
On Wed, 2010-02-24 at 07:11 -0800, Genís wrote:
> (<unknown>:8553): glibmm-CRITICAL **: Glib::ObjectBase*
> Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table !=
> 0'
> failed

Have you initialized gtkmm? For instance, do you have a Gtk::Main
instance? Is the error happening in some static instance that might be
even be run before main()?

--
murrayc murrayc com
www.murrayc.com
www.openismus.com




--
Genís Aguilar López


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