I think you can find the location(s) of shared libraries via the
/etc/ld.so.conf directory. I also think that ubuntu normally uses either
/lib, /usr/lib, /usr/local/lib and for multiple architecture support the
/x86_64-linux-gnu directory in either /lib, /usr/lib and /usr/local/lib.
hth
Ruurd
On 12/14/23 22:24, taf wrote:
I'm having a whack at upgrading rexxGTK to GTK4. I'm working in
Ubuntu 22.04 which has gtk4 installed. In the make file flag are set
specifying packages(?) libraries(?) to be used:
GRXLFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`
GRXCFLAGS = `pkg-config --cflags gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`
After easter-egging around, I determined that
GRXLFLAGS = `pkg-config --libs gtk4`
GRXCFLAGS = `pkg-config --cflags gtk4`
would get the compiler to run and generate complaints like:
rexxgtk.h:78:20: error: ‘GdkEventKey’ has not been declared
78 | GdkEventKey *event,
| ^~~~~~~~~~~
rexxgtk.h:81:20: error: ‘GdkEventButton’ has not been declared
81 | GdkEventButton *event,
presumably because I hadn't specified the current equivalent of
gdk-x.x in cflags.
My question may be more related to linux than oorexx, but ... how can
I determine the correct value to specify for --cflags and --libs. How
do I determine the release/package name for GDK, GLIB and GTHREAD.
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel