Hi, @mcatanzaro thanks for the suggestion. Yes I am running GLib 28.80.2, please see here:
brew info glib
==> glib: stable 2.80.2
Core application library for C
https://developer.gnome.org/glib/
Installed
/usr/local/Cellar/glib/2.80.2 (526 files, 35.1MB) *
Built from source on 2024-05-13 at 14:55:49
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/glib.rb
License: LGPL-2.1-or-later
Someone is packaging Glib for Homebrew on your side. Is there perhaps a team member that can help with how I upgrade GIO?
@ebassi how can I make a request for gtk to be included in the Apple Framework .pkg distribution that I can download for gstreamer?
Reading the release notes for gtk4 it discusses many improvements for GTK but you do not include gtk specifically in the release. As both gtk and gstreamer are gnome projects is there a way that the gstreamer team can do this?
Previously I’ve asked for support and the gstreamer team relayed that users were on their own to install it however they feature gstreamer tutorials that use it. This is very frustrating.
Alternatively if there is a gtk Apple Framework (.pkg package) that I can download and install and point to that may also resolve the issue.
Again, thanks for your help and suggestions. I’m at a total loss and can’t move forward.
You probably want to ask on the GStreamer Discourse instance, since it’s their project.
GTK developers do not really package GTK for any platform. I understand it’s inconvenient, but contributions outside of Linux come from people already maintaining their own projects. It’s not like there are tons of developers working on GTK to begin with, and we’re all volunteers.
If somebody wants to work on a binary build for GTK on macOS (or Windows) then they are free to contribute one.
@ebassi thanks for your replies. I’ll ask on the gstreamer discourse and see how that goes. Thanks too for your suggestion on packaging. If I can find someone who can build a .pkg for gtk I’ll post back.
If you can point me to a volunteer on the GTK team who is working macOS, I’m happy to ping them.
There are install instructions for GTK for macOS but they don’t use homebrew or a mac framework (.pkg) which makes it difficult to use and install when using those environments. I am working with a friend who is running on Linux and am trying to share some code but we can’t.
If I find a solution I’ll post back or open a new note so others can benefit. Thanks again for your quick replies and your willingness to help.
This appears to have been resolved. I can now successfully compile and run GTK4 programs. Note that I have both GTK+3 and GTK4 packages installed on both systems via Homebrew.
THE FIX = I removed Homebrew versions of gstreamer, corrected pkg-config paths and am now able to compile basic GTK4 helloworld.c program successfully.
I’m having runtime issues with programs compiled against GTK+3, however have raised the issue with the gstreamer team and hope to have that resolved soon as well.
Thanks to everyone for their suggestions and patient assistance.