excuse me if I bring to your attention a problem concerning the old GTK2 which is no longer supported.
I need to compile a program written in C/GTK2 on windows.
Glade-2 and DEVc++ were a good solution but the pango libraries are outdated and many features are missing.
I compiled successfully with MSYS2 however the program run outside the shell does not load the theme and the icons.
Through ldd i read all the libraries needed to start the program and I put them in the same folder as the executable, i also added the contents of /lib/gdk-pixbuf-2.0/2.10.0/loaders without result.
I did these other tests which are valid for GTK3:
From MSYS2 I copied share/themes/Windows10/gtk-2.0 to the program folder
Also from MSYS2 I copied etc/gtk-2.0 into the program folder and inside it I created the settings.ini file with these lines:
[Settings]
gtk-theme-name=Windows10 gtk-font-name=Segoe UI 9
at last I ran:
$ glib-compile-schemas /mingw64/share/glib-2.0/schemas/ --targetdir=/c/openhemp/bin/
None of this seems to work, the program keeps launching with no theme and no icons.
I'm sure that some library is still missing on startup in fact if I run from shell typing
/c/openhemp/bin/openhemp.exe again starts with no icons as I type cd /c/openhemp/bin openhemp.exe without specifying the path starts correctly.
At this point I'm out of ideas, I hope you can help me
Thanks in advance
Paul
I searched for documentation without finding any specific reference