Re: Gtk-WARNING **: Could not find signal handler
- From: Rúben Rodrigues <ruben_gr live com pt>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Gtk-WARNING **: Could not find signal handler
- Date: Wed, 1 Mar 2017 10:18:34 +0000
Thanks everyone!
I´m using eclipse, i i think that i used gmodule-export-2.0 the wrong
way. Before i add gmodule-export-2.0 in Cross GCC Linker -> Libraries ->
Libraries (-l), adn it gives an error, i think its because don't find
this library..
Now i add `pkg-config --libs gmodule-export-2.0` in Cross GCC Linker ->
Miscellaneous -> Linker flags after everything that was written and
works... Warning dissapears ...
Thanks guys!!
Às 08:48 de 28/02/2017, Tilo Villwock escreveu:
Well I don't know what else I could say. Either use
gtk_builder_add_callback_symbol(...)
to add all the symbols manually or make sure you can link against
gmodule-export-2.0 which on ARM probably means you have to compile and
install it yourself.
If you have installed it and your linker still can't find it then you
probably need to run ldconfig to update your cache.
--Tilo
Am Montag, den 27.02.2017, 18:46 +0000 schrieb Rúben Rodrigues:
Please help me...
I lost so many hours with this error.. This should work, because the
same code works in other machine.. But in raspberry pi don't..
Thanks
Às 15:19 de 27/02/2017, Rúben Rodrigues escreveu:
Hi,
I have the same problem of this topic
https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/ms
g00037.html
I see very similar problems, but didn't find any resolution.
I get this error in when i'm debuugin gtk app : Gtk-WARNING **:
Could
not find signal handler
I make this in my code
if( ! gtk_builder_add_from_file( builder, "ui.glade", &error ) )
{
g_warning( "%s", error->message );
g_free( error );
return( 1 );
}
/* Allocate data structure */
data = g_slice_new( ChData );
/* Connect signals */
gtk_builder_connect_signals( builder, NULL );
Because of this, all signals configured in glade do not work.
The documentation at
https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder
-connect-signals
suggests that i should be linking against gmodule-export-2.0, but
when i
try this, i get this error:
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-
gnueabihf/bin/ld: cannot find -lgmodule-export-2.0
Thanks
---
Este e-mail foi verificado em termos de vírus pelo software
antivírus Avast.
https://www.avast.com/antivirus
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
---
Este e-mail foi verificado em termos de vírus pelo software antivírus
Avast.
https://www.avast.com/antivirus
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]