Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Sadly not able to get this running on NixOS - very possible I’m just not understanding what packages I need.

Error message I get:

[LWJGL] GLFW_API_UNAVAILABLE error
        Description : EGL: Library not found
        Stacktrace  :
                org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2086)
                org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2251)
                java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
                java.base/java.lang.reflect.Method.invoke(Method.java:580)
                clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:196)
                clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:159)
                clojure.lang.Reflector.invokeStaticMethod(Reflector.java:361)
                clunk.core$init_glfw.invokeStatic(core.clj:83)
                clunk.core$init.invokeStatic(core.clj:215)
                clunk.core$start_BANG_.invokeStatic(core.clj:366)
                spider_game.core$_main.invokeStatic(core.clj:55)
                spider_game.core$_main.doInvoke(core.clj:55)
                clojure.lang.RestFn.invoke(RestFn.java:400)
                clojure.lang.AFn.applyToHelper(AFn.java:152)
                clojure.lang.RestFn.applyTo(RestFn.java:135)
                spider_game.core.main(Unknown Source)
Exception in thread "main" java.lang.IllegalStateException: Unable to create the GLFW window
        at clunk.core$init_glfw.invokeStatic(core.clj:84)
        at clunk.core$init.invokeStatic(core.clj:215)
        at clunk.core$start_BANG_.invokeStatic(core.clj:366)
        at spider_game.core$_main.invokeStatic(core.clj:55)
        at spider_game.core$_main.doInvoke(core.clj:55)
        at clojure.lang.RestFn.invoke(RestFn.java:400)
        at clojure.lang.AFn.applyToHelper(AFn.java:152)
        at clojure.lang.RestFn.applyTo(RestFn.java:135)
        at spider_game.core.main(Unknown Source)

Oh no! So sorry it’s not working for you.

I think EGL comes from the mesa package? But honestly I’m no Nix guru.