This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-25
Channels
- # admin-announcements (3)
- # alda (2)
- # beginners (10)
- # boot (44)
- # cider (31)
- # cljs-dev (5)
- # cljsjs (2)
- # cljsrn (17)
- # clojure (181)
- # clojure-austin (2)
- # clojure-brasil (18)
- # clojure-canada (1)
- # clojure-conj (5)
- # clojure-dev (11)
- # clojure-gamedev (30)
- # clojure-russia (380)
- # clojure-spec (50)
- # clojure-uk (35)
- # clojurescript (146)
- # clojutre (1)
- # component (1)
- # cursive (62)
- # datomic (27)
- # dirac (7)
- # editors (23)
- # emacs (7)
- # events (34)
- # funcool (22)
- # hoplon (134)
- # jobs (22)
- # jobs-rus (7)
- # juxt (1)
- # kekkonen (1)
- # lein-figwheel (54)
- # leiningen (7)
- # luminus (2)
- # off-topic (5)
- # om (4)
- # onyx (27)
- # proton (5)
- # protorepl (2)
- # re-frame (16)
- # reagent (29)
- # rethinkdb (2)
- # schema (1)
- # untangled (61)
- # yada (9)
Anyone have experience using libgdx with clojure? I'm trying to use their controller support, but I dont understand this error..
com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'gdx-controllers-desktop.dll' for target: Windows 10, 32-bit
@idiomancy looks like you're missing a jar
hmm...
:dependencies [...
[com.badlogicgames.gdx/gdx-controllers-desktop "1.9.3"]
[com.badlogicgames.gdx/gdx-controllers-platform "1.9.3"]
...]
dependency management is not my strong suite but.. Im not sure what else need to be provided here(defproject neofight "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url ""
:license {:name "Eclipse Public License"
:url ""}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/core.async "0.2.385"]
;[org.lwjgl.opengl]
[com.badlogicgames.gdx/gdx "1.9.3"]
[com.badlogicgames.gdx/gdx-backend-lwjgl "1.9.3"]
[com.badlogicgames.gdx/gdx-box2d "1.9.3"]
[com.badlogicgames.gdx/gdx-box2d-platform "1.9.3"
:classifier "natives-desktop"]
[com.badlogicgames.gdx/gdx-bullet "1.9.3"]
[com.badlogicgames.gdx/gdx-bullet-platform "1.9.3"
:classifier "natives-desktop"]
[com.badlogicgames.gdx/gdx-controllers-desktop "1.9.3"]
[com.badlogicgames.gdx/gdx-controllers-platform "1.9.3"]
[com.badlogicgames.gdx/gdx-platform "1.9.3"
:classifier "natives-desktop"]
[play-clj "1.1.1"]])
fwiw, thats viking programming. I stole the deps specified in play-clj. I actually have no idea what the :classifier flag does in the deps vector
the only difference is that I added the controllers stuff for my purposes. Possibly some incompatible deps?
lets see.... so the answer has to be one of two things, either I need to add another dep that points to the DLL i need, or I need to add some kind of flag that causes the existing dep to pull down the DLL i need.
The former I can work with, some googling. but if its the latter, my project.clj/interop knowledge is insufficient to the task
hmm. option 3, might it be the way im attempting to import it..
(com.badlogic.gdx.controllers Controllers)
[com.badlogicgames.gdx/gdx-controllers-platform "1.9.3" :classifier "natives-desktop"]
maybe i shouldnt remove the desktop dep, I should just add the classifier to the platform dep...