Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warnings on Windows and Linux AArch64 #1279

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading