On Wed, 27 Mar 2019 at 01:09, Chen Zhang <tgfb...@me.com> wrote: > Just double-checked on a MacMini mid 2011 with macOS 10.13.6, Xcode 10.1. > This NSWindow API did exist, and the patch could be built without error. > Searching convertPointFromScreen in Xcode.app’s platform SDK showed that it > was defined at line 440 in NSWindow.h of AppKit.framework. > > May I ask what build environment did you use (as printed by `xcode-select > -p`)?
manooth$ xcode-select -p /Applications/Xcode.app/Contents/Developer But that doesn't seem to be what the C compiler is actually using, because the error messages quote the filename /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h There is no convertPointFromScreen in that header; but there is one in both of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h and /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h which are the other two copies of NSWindow.h this machine has. thanks -- PMM