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

Compiling the samples #185

Open
priand opened this issue Nov 13, 2024 · 0 comments
Open

Compiling the samples #185

priand opened this issue Nov 13, 2024 · 0 comments

Comments

@priand
Copy link

priand commented Nov 13, 2024

Hello, I'm running a MacBook Air M2, java 21.0.2, maven 3.8.8, graalvm-java23-darwin-aarch64-gluon-23+25.1-dev

  • HelloWorld compiles but doesn't run mvn gluonfx:run
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.24:run (default-cli) on project helloworld: Error reading pom: No JavaFX plugin found -> [Help 1]
  • HelloFX runs with both hotspot and native image! But I can't get to work for iOS, with the simulator
    It compiles with the ios target but fails with ios-sim. See the error below. It also creates x86-64 files, is that what the simulator needs even on an M2? I tried to specify the target device, and even created an 'iPhone 13' one, but with the same result.
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] Error: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:StructInfo:struct___darwin_mcontext64:StructFieldInfo:__ss___r10
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] com.oracle.svm.core.util.UserError$UserException: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:StructInfo:struct___darwin_mcontext64:StructFieldInfo:__ss___r10
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:97)
...
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] Caused by: java.lang.NumberFormatException: Cannot parse null string
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at java.base/java.lang.Integer.parseInt(Integer.java:550)
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at java.base/java.lang.Integer.parseInt(Integer.java:685)
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.query.QueryResultParser.parseIntegerProperty(QueryResultParser.java:268)
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