PATCH: OSX will not compile due to LaunchService header file not found

Dirk Hohndel dirk at hohndel.org
Thu Feb 28 05:59:54 PST 2013


Amit Chaudhuri <amit.k.chaudhuri at gmail.com> writes:

> Fix compilation problem with LaunchServices on OSX
>
>     You cannot include the LSOpen.h directly on OSX - it is too far down in
>     the System hierarchy to locate. Instead we include the umbrella header
>     CoreServices.h which finds it for us.

And just as before - 10.7 (or at least my version of 10.7) appears to
also need -framework CoreServices on the linker line. So I just added
another commit that fixes that.

Hopefully OSX is now building out of the box again.

/D


More information about the subsurface mailing list