benjamin.john.evans at gmail.com
Tue Aug 6 02:35:18 PDT 2013
On Thu, Aug 1, 2013 at 8:11 PM, Richard Bair <richard.bair at oracle.com>wrote:
> By the way, can I suggest moving away from the forest hg extension - it's
> no longer supported & can't be made to work reliably on Mac.
> Which page did you see this one? I see this on the Building OpenJFX wiki
> "(Note: Historically you also had to clone the "jfx" repository in the
> forest that you cared about. However we have modified our approach, such
> that we no longer promote the use of a forest, and instead are putting all
> of our sources in a single repository, presently named "rt")."
> We actually don't use the forest extension on OpenJFX at all anymore, if
> we're still referring to it on a page I'll fix it.
It's in the README.
> Also, are you using the OpenJFX master, or OpenJFX Controls or OpenJFX
> graphics repo? Graphics / Controls are the daily team repos, master being
> only sync'd up weekly.
I'm using master - I couldn't see any other way to get bootstrapped. Is
there some other process I should be following for a first build?
I'm attempting to get OpenJFX built & running against the tip of Nashorn.
> OK the first question I have is to make sure I understand correctly. Do
> you mean that you're trying to build the latest OpenJFX + the latest
> Nashorn, combine them into a single JDK build, and then write an app that
> uses both? Is Nashorn developed in a different repo, like OpenJFX is, or is
> it now built as part of the normal JDK 8?
Nashorn is folded into JDK 8 regiular, but the head of development is ahead
of OpenJDK mainline.
> > Assuming it is, it still isn't working. After a certain amount of
>> > yak-shaving (Gradle being useless, and having to hack around the forest
>> > extension gunk) the build is failing (details below).
> Why did you need forest? Maybe if we start here with where the yak shaving
> exercise started then maybe I can see where you may have left the beaten
The README told me I needed it - I worked out the equivalent hg commands
(the ones given in the README as an alternative to forest are slightly
> Which build of Java 8 is this?
This is with Oracle Java 8 EA latest beta. Using an OpenJDK build instead
causes a different set of errors.
> > :fxpackager:compileLauncher
>> > In file included from
>> > from
>> > from
>> > error: stdarg.h: No such file or directory
> I'm building with 10.8 rather than 10.7. Kevin do you know what the hudson
> machines are setup to build with?
Hm. This machine is actually a 10.8 box.
> Looking at main.m line 26 we see this import:
> #import <Cocoa/Cocoa.h>
> It seems that something must be misconfigured on your system if importing
> Cocoa.h leads to a compile error. I'm not an expert on Mac native
> programming, maybe Felipe or David Dehaven can chime in?
I suspect some XCode oddness here - let me investigate further.
More information about the openjfx-dev