Skip to content

Commit

Permalink
Add warnings on Windows and Linux AArch64 (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr authored Sep 18, 2024
1 parent e7b87a4 commit 33adb7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ private List<String> asListOfWholeArchiveLinkFlags(List<String> 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();
Expand Down Expand Up @@ -319,7 +325,7 @@ List<String> 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;
}

Expand Down

0 comments on commit 33adb7a

Please sign in to comment.