You are not logged in.
Hello. I tried to install Gtk+ on Arch Linux but there is no package to install it.
Last edited by behDev (2021-12-17 17:31:21)
Offline
As in version 1? If so, avoid it if at all possible. It's in the AUR, though.
Edit: Oh, right, the '+' is what became version 2. gtk2 is in the repos, as is gtk3.
Last edited by Scimmia (2021-12-17 17:05:33)
Offline
I have gtk 2, 3 and 4 but what I want is gtk+. In principle, gtk+ should be stored in the /usr/include/gtk folder, but despite these packages, this folder does not exist and there is no documentation in gtk+ installation.
Offline
Then you need to define what you mean by 'gtk+'. Pretty sure it doesn't mean what you think it means.
Offline
I found a short and to the point Stack Overflow answer that may be of interest:
https://stackoverflow.com/a/5832268
That answer puts some perspective on the Wikipedia GTK release list:
https://en.wikipedia.org/wiki/GTK#Releases
The long and short of it is that there are only GTK, GTK+ and then GTK again ![]()
The first GTK is version 1, then GTK+ has been the name through versions 2 and 3, and for version 4 it will be GTK again?
Edit: I was a little quick there; the name GTK+ was established before version 1.
Best ignore my mangled paraphrasing and read the Stack Overflow answer, it has reference links ![]()
Last edited by Ferdinand (2021-12-18 06:50:07)
Offline
I changed the #include <gtk/gtk.h> to a #include <gtk-4.0/gtk/gtk.h> and it worked fine.
Offline