"Cannot finding signal handler" even after compiling with -rdynamic

2016-01-17 Thread Jay Aurabind
Hi, I am learning GTK programming. I am using glade to create a UI and then using GtkBuilder to show it. When I run my application, it gives number errors regarding signal handlers: --

Re: "Cannot finding signal handler" even after compiling with -rdynamic

2016-01-17 Thread Jean Bréfort
Hi, You shoud not have them static. The symbol is not exported. Otherwise you need to get the widget from the GtkBuilder and set the signal from you code and not from the glade file. Hope this helps, Jean Le dimanche 17 janvier 2016 à 20:55 +0530, Jay Aurabind a écrit : > Hi, > > I am learning

Re: "Cannot finding signal handler" even after compiling with -rdynamic

2016-01-17 Thread Jay Aurabind
On 17 January 2016 at 21:01, Jean Bréfort wrote: > Hi, > > You shoud not have them static. The symbol is not exported. Otherwise > you need to get the widget from the GtkBuilder and set the signal from > you code and not from the glade file. > > Hope this helps, > Jean > Thank you very much Jean!

Re: "Cannot finding signal handler" even after compiling with -rdynamic

2016-01-17 Thread Ian Chapman
Yes, I had something like that and ended with this which I hope may help you. I was thinking pull the widgets out of the glade file if that makes sense. Ian main.cpp GtkWidget *Battery, *Temp, *Chip_volts; //these are GtkProgressBar derived from glade. int main (int argc, char *argv[]) {

Re: GTK+ tests

2016-01-17 Thread Daniel Kasak
Ouch! I'm certainly not an expert in this area, but since you don't have any replies yet, I thought I'd help as best I can ... The error: "Illegal instruction (core dumped)" sounds to me like a compilation issue. You would get this error, for example, if you compiled for a target CPU that had inst