Fwd: Compiling OpenJFX + WebKit
Michael Hoffer
info at michaelhoffer.de
Mon May 11 18:24:40 UTC 2015
Hi Kevin,
thanks for your quick reply.
> ... I don't recommend wasting any time trying.
Too late. Already wastet many hours ;-)
> I'm not sure what we did last time to get the webview-deps into maven,
but Anton can probably check into it.
Could you send me the file directly if the maven upload takes more time?
> If you can help (or at least point out all the places that you found that
are now out of date), that would be great.
Sure. I can contribute/update the documentation if necessary.
I suggest that you use the gradle wrapper task to ensure that the correct
gradle version is used. Users can call gradle via ./gradlew or
.\gradlew.bat without installing the correct gradle version.
Michael
2015-05-11 19:06 GMT+02:00 Kevin Rushforth <kevin.rushforth at oracle.com>:
> Hi Michael,
>
> Thanks for pointing this out. I'm not sure what we did last time to get
> the webview-deps into maven, but Anton can probably check into it. It will
> not build successfully with the older version of webview-deps so I don't
> recommend wasting any time trying.
>
> In addition, we now rely on upgraded compilers with C++11 support, and
> also Qt 5.2, to build WebView. We can update the Wiki. If you can help (or
> at least point out all the places that you found that are now out of date),
> that would be great.
>
> Our supported build platforms, which also need to be specified on the Wiki
> are:
>
> Windows: Windows 7 or later, VS 2013
> Mac: OS X 10.9.5 or later, Xcode 5.1.1
> Linux: Ubuntu 14.04 or later (we use Oracle Linux 6.4 with devtoolset-3
> gcc 4.9 compilers)
>
> -- Kevin
>
>
>
> Michael Hoffer wrote:
>
>> Hi,
>>
>> I just tried to compile OpenJFX from the 8u-dev branch on OS X and Ubuntu.
>> Unfortunately, I'm experiencing several problems. Without WebKit
>> everything
>> works fine. But with WebKit there are several problems:
>>
>> 1. the build script has a webview-deps:1.3 dependency which has not been
>> published on maven central.
>>
>> If I revert the version number of the dependency to the 1.2 version
>> (newest
>> version that is available) I run into the next problem:
>>
>> 2. WebKit does not compile on Ubuntu because of missing libraries (can be
>> fixed via sudo apt-get install libqt4-dev)
>>
>> If I add the missing dependencies I can compile WebKit, but
>>
>> 3. the generated Java code contains errors (also happens on OS X),
>> starting
>> with
>>
>>
>> openjfx/rt-8u-dev/modules/web/build/linux/Release/WebCore/generated/java/com/sun/webkit/dom/CounterImpl.java:5:
>> error: cannot find symbol
>> import com.sun.webkit.Disposer;
>> ^
>> symbol: class Disposer
>> location: package com.sun.webkit
>>
>> Are these known problems? I'd really love to compile my own OpenJFX
>> version
>> as I did with the first Java 8 preview version where the compilation was
>> relatively easy to accomplish.
>>
>> 4. In my opinion the wiki should be updated with more recent information
>> on
>> which os/library/compiler version is needed. On OS X for example, I needed
>> to use qtmake from qt5 since the qt4 version was missing the correct spec
>> file for clang. And it was generally unclear whether building on OS X 10.9
>> or 10.10 is supported.
>>
>> Any help is appreciated! And I'm also willing to contribute documentation/
>> fixes if necessary.
>>
>> Regards,
>> Michael Hoffer
>>
>>
>>
>
--
Dipl.-Math. Michael Hoffer
Twitter: @mihosoft
Webpage: www.mihosoft.eu
Goethe-Zentrum für Wissenschaftliches Rechnen (G-CSC)
Goethe-Universität
Kettenhofweg 139
60325 Frankfurt am Main
phone: +49 69 798 25254
info at michaelhoffer.de
--
Dipl.-Math. Michael Hoffer
Twitter: @mihosoft
Webpage: www.mihosoft.eu
Goethe-Zentrum für Wissenschaftliches Rechnen (G-CSC)
Goethe-Universität
Kettenhofweg 139
60325 Frankfurt am Main
phone: +49 69 798 25254
info at michaelhoffer.de
More information about the openjfx-dev
mailing list