Re: [gtk-osx-users] implicit declaration of function 'pango_font_metrics' is invalid in C99





On Jul 27, 2021, at 3:11 PM, Tres Finocchiaro via gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:

Hi,

I'm attempting to build Gimp for MacOS and in doing so, I encounter the following error:

implicit declaration of function 'pango_font_metrics' is invalid in C99

Although the issue reads very similar to this issue, installing fontconfig and rebuilding the failing 
module didn't work. https://www.mail-archive.com/search?l=gtk-osx-users-list gnome 
org&q=subject:%22Re%5C:+%5C%5Bgtk%5C-osx%5C-users%5C%5D+Pango+error+implicit+declaration+of+function+is+invalid+in+C99.%22&o=newest&f=1

I understand that gtk-osx requires jhbuild, which can come with its own configuration.  I'm not working 
from a build tutorial but rather adapting a Circle-CI configuration as directed here: 
https://gitlab.gnome.org/GNOME/gimp/-/issues/5952#note_1211266

I'm adapting this to a human-readable procedure here:
https://gist.github.com/tresf/7afd58020be5274d2e583a89854d8bd1

... but I get stuck with the above error message on the prerequisites Step 10.

As far as I'm aware, the only modification to the Circle-CI steps is my XCode/MacOSX SDK version is 
slightly newer than that which CIrcle-CI uses.

Any help is appreciated.

Sorry, your gist indicates that you're using a fork of gtk-osx with its own modulesets. If that's what you 
want to do then ask Alex Samurukov for help. IIRC he hangs out on #gimp. If you want me to help then use the 
mainline gtk-osx... but note that I haven't built anything that uses Gtk2 in a long time. You're probably 
better off with Alex.

Regards,
John Ralls



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