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

Dirk Hohndel dirk at hohndel.org
Thu Feb 28 05:52:17 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.

Excellent. Thanks for tracking this down. I still don't understand why
this worked on my main build system, but it did break on my other Macs
so this was clearly a bug.

/D


More information about the subsurface mailing list