* What went wrong:
Execution failed for task ':graphics:ccLinuxGlass'.
> Could not call NativeCompileTask.compile() on task ':graphics:ccLinuxGlass'
```
I have a much more recent version of gcc than the answer references, so it _seems_ like this shouldn't be an issue. But it appears that OpenJDK 8 that's installed on Ubuntu 19.10 was probably built using an older version of gcc without this header? Is there a workaround short of compiling OpenJDK 8?
I attempted to compile JFX 8 from source manually, but it errors out. Can somebody try this and see if you can get any further? (I'm on 19.10).
``` /wiki.openjdk. java.net/ display/ OpenJFX/ Building+ OpenJFX, with updated gstreamer deps r1.0-dev libgstreamer- plugins- base1.0- dev libjpeg-dev \ xf86vidmode- dev libavcodec-dev mercurial \
# based on https:/
sudo apt-get install ksh bison flex gperf libasound2-dev libgl1-mesa-dev \
libgstreame
libpng-dev libx11-dev libxml2-dev libxslt1-dev libxt-dev \
libxxf86vm-dev pkg-config x11proto-core-dev \
x11proto-
libgtk2.0-dev libgtk-3-dev \
libxtst-dev libudev-dev libavformat-dev cmake ruby
# most recent openjfx 8 build. theoretically openjfx 9 is compatible with jdk N-1 (https:/ /wiki.openjdk. java.net/ display/ OpenJFX/ Building+ OpenJFX# BuildingOpenJFX -OpenJDK), but their gradle build blocks 9 from compiling on openjdk 8
git clone --branch 8u51-b09 https:/ /github. com/openjdk/ jfx.git
# their build requires gradle 1.8, which is from 2013 :(
# download 1.8 from: https:/ /gradle. org/releases/
cd jfx gradle- 1.8/bin/ gradle
~/Downloads/
```
After doing this, I get:
```
FAILURE: Build failed with an exception.
* What went wrong: ccLinuxGlass' . sk.compile( ) on task ':graphics: ccLinuxGlass'
Execution failed for task ':graphics:
> Could not call NativeCompileTa
```
Googling for this error takes me to: http:// mail.openjdk. java.net/ pipermail/ openjfx- dev/2015- April/017156. html
I have a much more recent version of gcc than the answer references, so it _seems_ like this shouldn't be an issue. But it appears that OpenJDK 8 that's installed on Ubuntu 19.10 was probably built using an older version of gcc without this header? Is there a workaround short of compiling OpenJDK 8?