Put this in your gradle.properties file:

MACOSX_SDK_PATH = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk

We need to document this on the wiki.  Will do that Monday.  Gotta go now.


On 2014-04-04 5:31 PM, Philipp Dörfler wrote:

just out of curiousity I wanted to build OpenJFX, but although I followed the 
instructions at
I can’t get it to work.

gradle 1.8 fails when building :fxpackage:compileLauncher as follows:

clang: warning: no such sysroot directory: 
 fatal error: 'Cocoa/Cocoa.h' file not found
#import <Cocoa/Cocoa.h>
1 error generated.
:fxpackager:compileLauncher FAILED

I do not have a 10.7 SDK on my 10.9 Mac, but I do have a 10.8 and 10.9:

$ ls 
MacOSX10.8.sdk MacOSX10.9.sdk

According to „the internet™“ I would have to find an old version of Xcode 
(apparently 4.3.3) because that’s the only way to find an old SDK.
As I’m sure that you guys have valid reasons to stick to 10.7 I think it would 
not hurt to mention this on the wiki page mentioned above stating that one 
needs XCode not newer than 4.3.3 and that old XCode versions can be downloaded 
on the Apple Developer website.
I would add it myself but as I’m not a contributor I don’t have the required 
permissions, so all I can do is to ask here for inclusion of that.

Thanks! May that be the only obstacle in building JFX8.

Reply via email to