berstanio / gdx-graalhelper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from anyicomplex/gdx-svmhelper
Experimental helper for libGDX to build GraalVM native-image.
License: Apache License 2.0
This project forked from anyicomplex/gdx-svmhelper
Experimental helper for libGDX to build GraalVM native-image.
License: Apache License 2.0
Error: Feature defined by com.anyicomplex.gdx.lwjgl3.svm.ReflectionRegistrationFeature unexpectedly failed with a(n) java.lang.RuntimeException. Please report this problem to the authors of com.anyicomplex.gdx.lwjgl3.svm.ReflectionRegistrationFeature.
Originally posted by @ThanosFisherman in #5 (comment)
TypingLabel https://github.com/rafaskb/typing-label
doesn't seem to be compatible with native-image build from liftOff because of reflection being used to derive the text effect.
Error: Classes that should be initialized at run time got initialized during image building:
com.badlogic.gdx.utils.SharedLibraryLoader was unintentionally initialized at build time. com.badlogic.gdx.scenes.scene2d.utils.UIUtils caused initialization of this class with the following trace:
at com.badlogic.gdx.utils.SharedLibraryLoader.<clinit>(SharedLibraryLoader.java:39)
at com.badlogic.gdx.scenes.scene2d.utils.UIUtils.<clinit>(UIUtils.java:13)
com.oracle.svm.core.util.UserError$UserException: Classes that should be initialized at run time got initialized during image building:
com.badlogic.gdx.utils.SharedLibraryLoader was unintentionally initialized at build time. com.badlogic.gdx.scenes.scene2d.utils.UIUtils caused initialization of this class with the following trace:
at com.badlogic.gdx.utils.SharedLibraryLoader.<clinit>(SharedLibraryLoader.java:39)
at com.badlogic.gdx.scenes.scene2d.utils.UIUtils.<clinit>(UIUtils.java:13)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.classinitialization.ProvenSafeClassInitializationSupport.checkDelayedInitialization(ProvenSafeClassInitializationSupport.java:273)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.classinitialization.ClassInitializationFeature.duringAnalysis(ClassInitializationFeature.java:164)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$10(NativeImageGenerator.java:748)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:85)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$11(NativeImageGenerator.java:748)
at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.AbstractAnalysisEngine.runAnalysis(AbstractAnalysisEngine.java:162)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:745)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:578)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:535)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:580)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
In https://github.com/Berstanio/gdx-graalhelper/blob/master/src/main/resources/META-INF/native-image/gdx-svmhelper/core/resource-config.json , the font arial-15 is used, but it's now lsans-15 to avoid trademark infringement and I think has been since the previous release. There may be other things that I haven't yet encountered in 1.12.0 that might need addressing here; I know scene2d.ui's Cell class changed some signatures.
Unrelated to that, I'm getting reflection-related errors at runtime when I use TextraTypist's effects, but I think I have a better solution than reflection for that anyway.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.