I’m building the GUI by the Glade tool.
I defined the ‘clicked’ signal and wrote the C routine in the source file as:
__attribute__((unused)) GtkWidget *widget,
__attribute__((unused)) gpointer data)
When I run the application I receive the following message:
(lockrecharge:7101): Gtk-WARNING **: 15:42:28.494: Could not find signal handler 'on_btnNoProblema_clicked'. Did you compile with -rdynamic?
Since I’m using the CMake way, I’m not able to check if the ‘-rdynamic’ is defined cause I see:
[build] [ 3%] Building C object CMakeFiles/lockrecharge.dir/main.c.o
I don’t understand this I’m sure some days ago I had no problems but now I see this message.
It’s not recommended to use Glade, even with GTK3.
I’m sure CMake has some way to show you a verbose build log.
You can also annotate the callback with
Hi @ebassi ,
is there a graphical editor for the windows or you recommend to ‘write the page by code’?
PS: I checked with ‘nm’ command and the symbol is defined.
It seems that Cambalache is a good alternative Juan Pablo Ugarte / Cambalache · GitLab
But I’m just trying to run it and I guess it is not possible on my current Debian version cause WebKit2:
Project name: cambalache
Project version: 0.11.3
C compiler for the host machine: cc (gcc 10.2.1 “cc (Debian 10.2.1-6) 10.2.1 20210110”)
C linker for the host machine: cc ld.bfd 2.35.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Message: Python module lxml >= 4.5.0 found: YES 4.8.0 None
Message: Python module gi >= 3.38.0 found: YES 3.38.0 None
Message: Python module GLib >= 2.66.0 found: YES 2.66.2 None
Message: Python module Gtk >= 3.24.0 found: YES 3.24.24 3.0
Message: Python module Gtk >= 4.0.0 found: NO 4.0
Message: Python module WebKit2 >= 2.32.0 found: NO 4.1
Message: Python module WebKit2 >= 2.32.0 found: NO 5.0
Message: Python module GtkSource found: NO 4
Message: Python module Handy found: YES None
Message: Python module Adw found: NO None
I presume that you have Debian Stable, because I have SID and it passes meson.
If some dependencies are unavailable on your Debian install you can also try to use the Flatpak build: ar.xjuan.Cambalache
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.