Developing application with GTK3 on WIndows 10



Following this link https://www.gtk.org/download/windows.php I prepared on
Windows 10/64bit the environment to develop application with GTK3 and Glade
on Windows 10.

(I've installed msys2 / update packages / installing GTK3 libraries /
installing Glade / installing toolchain to develop code ).

I've build a simple application on Ubuntu using GTK3 + glade and it works
perfectly.

Then I ported the same application on Win and I tried to compile like I've
done on UBUNTU.
First of all, during the compilation the option -export-dynamic, suggested
in all the tutorial, is not recognized ad I obtain the following error:

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
warning: --export-dynamic is not supported for PE+ targets, did you mean
--export-all-symbols?

If I substitute with --export-all-symbols I obtain gcc.exe: error:
unrecognized command line option '--export-all-symbols'

Than I erase this option.

The compilation end without errors but if I run the executable I obtain the
following errors:

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.459: Could not find signal
handler 'on_button1_clicked'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.459: Could not find signal
handler 'on_window_main_destroy'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.459: Could not find signal
handler 'on_doPlot_clicked'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.475: Could not find signal
handler 'on_cbox_changed'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.475: Could not find signal
handler 'on_btn_exe_clicked'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.475: Could not find signal
handler 'on_btn_quit_clicked'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.491: Could not find signal
handler 'on_plotWindow_delete_event'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.491: Could not find signal
handler 'on_close_plotWindow_clicked'. Did you compile with -rdynamic?

(LAVORO.exe:5684): Gtk-WARNING **: 08:41:50.506: Could not find signal
handler 'on_plot_draw'. Did you compile with -rdynamic?

Do you understand what is wrong in my installation and do you have an idea
about to solve tis issue?

Could you help me?
Thank you


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