Re: Gtk-WARNING **: Could not find signal handler

2017-03-01 Thread Rúben Rodrigues
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 + 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",  ) )
>>>{
>>>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

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Gtk-WARNING **: Could not find signal handler

2017-03-01 Thread Norbert de Jonge
> pi@raspberrypi:~ $ sudo apt-get install gmodule-export-2.0

As Tilo wrote, you may need to compile it yourself.

A quick search seems to indicate that there is gmodule-no-export-2.0
(no export) and gmodule-2.0 (export).

If this is true, you may want to look for gmodule-2.0 instead.

norbert # apt-file search libgmodule
libglib2.0-0: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
libglib2.0-0: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0
libglib2.0-0: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.1
libglib2.0-dev: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.a
libglib2.0-dev: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so

Seems to tell me that these are the packages you'd be looking for.

Just a hunch, someone else may know more about it all.

Best regards,
Norbert
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Gtk-WARNING **: Could not find signal handler

2017-03-01 Thread Rúben Rodrigues
Hi,

I don't find this library ..

pi@raspberrypi:~ $ sudo apt-get install gmodule-export-2.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gmodule-export-2.0
E: Couldn't find any package by regex 'gmodule-export-2.0'

Thanks


À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 + 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",  ) )
>>>{
>>>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

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Gtk-WARNING **: Could not find signal handler

2017-02-28 Thread Tilo Villwock
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 + 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",  ) )
> >   {
> >   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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Gtk-WARNING **: Could not find signal handler

2017-02-27 Thread 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/msg00037.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",  ) )
>   {
>   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

Re: Gtk-WARNING **: Could not find signal handler

2017-02-27 Thread Rúben Rodrigues
Hi,

Thanks for answering.

Yes i'm using hundreds of signals, and i'm working on an ARM Machine 
(Rasberry Pi).

What do you mean with "you're apparently not adding your signal handler 
symbols before calling" ?

Thanks

Às 15:39 de 27/02/2017, Tilo Villwock escreveu:
> It tells you to link GModule because you're apparently not adding your
> signal handler symbols before calling
>
>  gtk_builder_connect_signals(...)
>
> and thus tries to use introspection to look up the symbols. Unless it's
> hundreds of symbols I would suggest you simply call
>
>  gtk_builder_add_callback_symbol(...)
>
> to add all symbols that are referenced in your Glade file.
>
> Also are you actually working on an ARM machine? Otherwise your
> toolchain seems messed up.
>
> --Tilo
>
> Am Montag, den 27.02.2017, 15:19 + schrieb Rúben Rodrigues:
>> Hi,
>>
>> I have the same problem of this topic
>> https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg0
>> 0037.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",  ) )
>>   {
>>   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-c
>> onnect-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

Re: Gtk-WARNING **: Could not find signal handler

2017-02-27 Thread Tilo Villwock
It tells you to link GModule because you're apparently not adding your
signal handler symbols before calling

gtk_builder_connect_signals(...)

and thus tries to use introspection to look up the symbols. Unless it's
hundreds of symbols I would suggest you simply call

gtk_builder_add_callback_symbol(...)

to add all symbols that are referenced in your Glade file.

Also are you actually working on an ARM machine? Otherwise your
toolchain seems messed up.

--Tilo

Am Montag, den 27.02.2017, 15:19 + schrieb Rúben Rodrigues:
> Hi,
> 
> I have the same problem of this topic 
> https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg0
> 0037.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",  ) )
>  {
>  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-c
> onnect-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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Gtk-WARNING **: Could not find signal handler

2017-02-27 Thread Rúben Rodrigues
Hi,

I have the same problem of this topic 
https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg00037.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",  ) )
 {
 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