Skip to content

Instructions for building on Mac OS X #23

@GoogleCodeExporter

Description

@GoogleCodeExporter
I'd like to build this on OS X (or consume a binary).

I've installed some of the dependencies through homebrew, and the version of 
Gimp I have is the official Mac binary they provide.

At present as far as I can get compiling gimp-normalmap is if I do 
PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig

Compilation fails with

No package 'gimp-2.0' found
normalmap.c:26:21: error: gtk/gtk.h: No such file or directory
normalmap.c:28:26: error: libgimp/gimp.h: No such file or directory
normalmap.c:29:28: error: libgimp/gimpui.h: No such file or directory

But I don't know where to get/install the gimp development libraries.

I found a post in some corner of the internet which suggested

export 
DYLD_LIBRARY_PATH=/Applications/Gimp.app/Contents/Resources/lib:/System/Library/
Frameworks/ImageIO.framework/Versions/A/Resources:/usr/lib:/opt/local/lib

After this compilation fails with

dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /Applications/Gimp.app/Contents/Resources/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
normalmap.c:26:21: error: gtk/gtk.h: No such file or directory
normalmap.c:28:26: error: libgimp/gimp.h: No such file or directory
normalmap.c:29:28: error: libgimp/gimpui.h: No such file or directory

I'm not sure if that's progress or not.

Any help would be much appreciated.

Original issue reported on code.google.com by [email protected] on 26 Aug 2013 at 11:37

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions