Hello, Philipp. As a quick workaround you can run: sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
FX does-not use any new API’s specific to 10.8, so it would build. At least it works for me. With best regards. Petr. 05 апр. 2014 г., в 1:31 до полудня, Philipp Dörfler <phdoerf...@gmail.com> написал(а): > Hi, > > just out of curiousity I wanted to build OpenJFX, but although I followed the > instructions at > https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX > I can’t get it to work. > > gradle 1.8 fails when building :fxpackage:compileLauncher as follows: > > :fxpackager:compileLauncher > 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 > #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 > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ > 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. > >