Building OpenJFX on Mac OS X 10.9.2 / XCode 5.1 / XCode 4.3.3
phdoerfler at gmail.com
Fri Apr 4 21:31:13 UTC 2014
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: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'
/Users/phi/Documents/workspace/OpenJFX8-rt/modules/fxpackager/src/main/native/launcher/mac/main.m:26:9: fatal error: 'Cocoa/Cocoa.h' file not found
1 error generated.
I do not have a 10.7 SDK on my 10.9 Mac, but I do have a 10.8 and 10.9:
$ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
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.
More information about the openjfx-dev