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

Linux-aarch64 Build failed #482

Open
HaneneS opened this issue Aug 8, 2023 · 0 comments
Open

Linux-aarch64 Build failed #482

HaneneS opened this issue Aug 8, 2023 · 0 comments

Comments

@HaneneS
Copy link

HaneneS commented Aug 8, 2023

Hi Team,

I'm trying to generate a native image for Android profile using Linux with architecture aarch64 and I installed the GraalVM Version info: 'GraalVM 22.1.0 Java 17 CE' from this page https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final because the recommended one https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final seems not working for aarch64 but only for x86_64.

when I run: mvn -Pdesktop gluonfx:build -> linked failed and I receive many error library messages like this:

[INFORMATION] [SUB] /usr/bin/ld: eclipse-workspace/my-fx-gluon-application/target/gluonfx/aarch64-linux/gvm/tmp/SVM-1691492601948/com.mygluonfx.sample.main.o:(.data+0x6d0): undefined reference to Java_com_sun_pisces_PiscesRenderer_setRadialGradientImpl' undefined reference to Java_com_sun_pisces_PiscesRenderer_setCompositeRuleImpl'

when I run: mvn -Pandroid gluonfx:build -> compile failed

[Di. Aug. 08 12:03:31 UTC 2023][INFORMATION] We will now compile your code for aarch64-linux-android. This may take some time.
java.io.IOException: You specified an android NDK, but it doesn't contain /ndk/toolchains/llvm/prebuilt/linux-aarch64/bin/ld.lld

Actually under /ndk/toolchains/llvm/prebuilt I see only linux-x86_64 folder.

Could you please recommend me which Graalvm and android ndk should I use?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant