diff --git a/src/main/java/com/gluonhq/substrate/target/LinuxTargetConfiguration.java b/src/main/java/com/gluonhq/substrate/target/LinuxTargetConfiguration.java index 58248818..7ab4be7a 100644 --- a/src/main/java/com/gluonhq/substrate/target/LinuxTargetConfiguration.java +++ b/src/main/java/com/gluonhq/substrate/target/LinuxTargetConfiguration.java @@ -113,6 +113,8 @@ public LinuxTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration public boolean compile() throws IOException, InterruptedException { if (isAarch64) { projectConfiguration.setUsePrismSW(true); // for now, when compiling for AArch64, we should not assume hw rendering + Logger.logSevere("Error: Building a native image is not yet supported on Linux AArch64 with this version.\nPlease use GluonFX plugin version 1.0.23 instead."); + return false; } return super.compile(); } diff --git a/src/main/java/com/gluonhq/substrate/target/WindowsTargetConfiguration.java b/src/main/java/com/gluonhq/substrate/target/WindowsTargetConfiguration.java index 0c8378c6..f9e585cb 100644 --- a/src/main/java/com/gluonhq/substrate/target/WindowsTargetConfiguration.java +++ b/src/main/java/com/gluonhq/substrate/target/WindowsTargetConfiguration.java @@ -205,6 +205,12 @@ private List asListOfWholeArchiveLinkFlags(List libraries) { return linkFlags; } + @Override + public boolean compile() throws IOException, InterruptedException { + Logger.logSevere("Error: Building a native image is not yet supported on Windows with this version.\nPlease use GluonFX plugin version 1.0.23 instead."); + return false; + } + @Override public boolean link() throws IOException, InterruptedException { createIconResource(); @@ -319,7 +325,7 @@ List getAdditionalSourceFiles() { @Override public boolean createStaticLib() throws IOException, InterruptedException { - Logger.logSevere("Error: building a static image is not supported on Windows"); + Logger.logSevere("Error: building a static image is not supported on Windows yet"); return false; }