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



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

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é

-- 
José



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