Git Product home page Git Product logo

Comments (6)

st3fan avatar st3fan commented on June 2, 2024

I gave this a try with GraalVM 20.3.0 which was released a few days ago, but unfortunately running script/compile ends with a fatal exception that I have not yet been able to track down:

Fatal error:java.lang.NoSuchFieldError: SplittingMaxNumberOfSplitNodes
	at org.graalvm.compiler.truffle.compiler.SharedTruffleCompilerOptions.<clinit>(SharedTruffleCompilerOptions.java:191)
	at org.graalvm.compiler.truffle.compiler.SharedTruffleCompilerOptions_OptionDescriptors.get(SharedTruffleCompilerOptions_OptionDescriptors.java:17)
	at org.graalvm.compiler.truffle.compiler.SharedTruffleCompilerOptions_OptionDescriptors$1.next(SharedTruffleCompilerOptions_OptionDescriptors.java:552)
	at org.graalvm.compiler.truffle.compiler.SharedTruffleCompilerOptions_OptionDescriptors$1.next(SharedTruffleCompilerOptions_OptionDescriptors.java:543)
	at com.oracle.svm.hosted.option.HostedOptionParser.collectOptions(HostedOptionParser.java:78)
	at com.oracle.svm.hosted.option.HostedOptionParser.<init>(HostedOptionParser.java:62)
	at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:238)
	at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:509)
	at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:115)
	at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:541)
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
	at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1647)
	at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1397)
	at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1358)
	at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1317)
	at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1829)

This is on macOS 10.15.7 with the following Java version:

openjdk version "11.0.4" 2019-07-16 LTS
OpenJDK Runtime Environment Corretto-11.0.4.11.1 (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.4.11.1 (build 11.0.4+11-LTS, mixed mode)

from clojure-lanterna.

borkdude avatar borkdude commented on June 2, 2024

@st3fan Could you try 20.2.0?

from clojure-lanterna.

st3fan avatar st3fan commented on June 2, 2024

I tried 20.2.0 and that seems to work correctly. I end up with:

-rwxr-xr-x  1 stefan  staff  27466344 Nov 21 09:10 tetris*

And I can run and play that version.

You did not mention the platform in this issue - do you want me to give it a try on Linux too?

from clojure-lanterna.

borkdude avatar borkdude commented on June 2, 2024

@st3fan Which branch of https://github.com/borkdude/console-tetris have you compiled?

from clojure-lanterna.

st3fan avatar st3fan commented on June 2, 2024

On the pod-babashka-lanterna branch, the project compiles and runs - the game runs, bricks are falling down. However, it doesn't handle terminal interactions well:

  • It is printing raw color escape codes to the terminal
  • It is not responding to key input

Is that the behaviour you saw too?

from clojure-lanterna.

borkdude avatar borkdude commented on June 2, 2024

@st3fan That's what I'm seeing too. Sorry for the late reply. I just updated the pod-babashka-lanterna branch to GraalVM 20.3.0.

from clojure-lanterna.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.