Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#65012 closed defect (invalid)

MacPorts did not install gtk.h on my system.

Reported by: dgrovespdx (Don Groves) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

I used MacPorts to install gtk on my MacBook Pro, but when I try to run a small program in XCode, I get an error that gtk/gtk.h is not found. When I search my hard drive for gtk.h, it is not found. Two questions: (1) Why did MacPorts not include gtk.h on my system? (2) Is there a site where I can download gtk.h?

Any help greatly appreciated!

Change History (1)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Keywords: mac os removed
Resolution: invalid
Status: newclosed

You most likely just need to add appropriate include paths to your Xcode project (assuming you installed one of the gtk ports successfully). You can see where a port's files are installed with port contents <portname> or on the web app, e.g.:

We use Trac for bug reports and enhancement requests only, so I am closing this ticket. For questions on how to use MacPorts or ports installed with it, please use the macports-users mailing list or one of the real-time chat options listed at https://www.macports.org/contact.php.

Last edited 3 years ago by jmroot (Joshua Root) (previous) (diff)
Note: See TracTickets for help on using tickets.