Skip to content

Commit

Permalink
Add warnings on Windows and Linux AArch64
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr committed Sep 9, 2024
1 parent c3bf470 commit 465ca9d
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 supported on Linux AArch64 with this version yet.\nPlease use GluonFX plugins up until 1.0.23");
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 supported on Windows with this version yet.\nPlease use GluonFX plugins up until 1.0.23");
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 465ca9d

Please sign in to comment.