[Fwd: Re: glibmm-CRITICAL **: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed]



-------- Forwarded Message --------
From: Joaquin Pérez Valera <joaquinperezvalera gmail com>
To: José Alburquerque <jaalburquerque gmail com>
Subject: Re: glibmm-CRITICAL **: Glib::ObjectBase*
Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table !=
0' failed
Date: Fri, 2 Nov 2012 13:41:42 -0600

OHHH was so easy...


Puff. I added the "kit" and then it runs. 


I'm very grateful. 


Joaquín

2012/11/2 José Alburquerque <jaalburquerque gmail com>
        On Fri, 2012-11-02 at 12:57 -0600, Joaquin Pérez Valera wrote:
        > Hello José
        >
        >
        
        > Well, the way I was compiling is not only one, first I used
        >
        >
        > #g++ *.cc `pkg-config gtkmm-3.0 --cflags --libs`
        >
        >
        > the resulting file was a.out.
        >
        >
        > I tried another way to compile, with a makefile. Generating
        first the
        > objects and then linking. With this content for the makefile:
        > -----------------------------------------------------
        > boton: main.o buttons.o
        >         g++ -g main.o buttons.o -o boton `pkg-config gtkmm-3.0
        > --cflags --libs`
        >
        >
        > main.o: main.cc
        >         g++ -g -c main.cc `pkg-config gtkmm-3.0 --cflags
        --libs`
        >
        >
        > buttons.o: buttons.cc buttons.h
        >         g++ -g -c buttons.cc `pkg-config gtkmm-3.0 --cflags
        --libs`
        >
        >
        > -----------------------------------------------------
        >
        >
        >
        > I've taken the example from the attached book, and the code is
        the
        > same in the link that I received from you.
        
        
        The main.cc files differ slightly in the link that I sent as
        opposed to
        the file you attached.  Just thought you'd like to know.
        
        --
        José
        




-- 
Saludos

Joaquín Pérez Valera


-- 
José



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