Re: [gtk-osx-users] Linking gtk on Xcode




On Jan 28, 2015, at 12:33 PM, Paolo De Luca <developer paul icloud com> wrote:

I’ve downloaded and used the script  "gtk-osx-build-setup.sh” then I’ve done
$ jhbuild bootstrap
$ jhbuild build meta-gtk-osx-bootstrap
$ jhbuild build meta-gtk-osx-core
Now I need to link it inside Xcode but I don’t know where header files, dynamic and static libraries are.

OS X 10.10.2
Xcode 6.1.1
 
Can you help me?

You need to subscribe to the mailing list to use it. Please do, links are at the bottom of this email. Once you have, please also be sure to copy the list on all replies using “reply all”.

If you didn’t change anything in ~/.jhbuildrc-custom, the includes are in ~/gtk/inst/includes and the libraries in ~/gtk/inst/lib. You’ll need to add the former, possibly along with several of its subdirectories (glib-2.0, gtk-2.0, pango-1.0, cairo, and perhaps more depending on the dependencies) to the header search path in Build Settings, and the individual libraries you need to the “Link binary with Libraries” list in Build Phases. If you did change .jhbuildrc-custom, substitute ~/gtk/inst with whatever you set for prefix.

Regards,
John Ralls



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