Closed robertluo closed 4 years ago
When opens "compile" dialog from "Magic" menu item, the console shows:
The packaging of the Unity integration hasn't stabilized yet. The error you're seeing is because the MAGIC source is not on the loadpath (it is looking for magic.api
but cannot find it). A short term fix is to copy the src/magic
, deps/deps/maven/org.clojure/tools.analyzer-1.0.0/clojure
and deps/github/nasser/mage-master/src/mage
folders into the Magic.Unity/Infrastructure/Desktop
folder of your Unity project. This is how I managed to build for iOS in the past few weeks.
This problem is being tracked in #173 and is scheduled to be addressed next week as part of wrapping up the final milestone in the project. I am going go close this issue as it is a duplicate of #173.
BTW, in namespace magic.analyzer.untyped-passes line 137, there is #_else seems like a problem.
That's valid Clojure, #_
comments out the form else
. The containing form is a case
so the last expression is the default expression.
When opens "compile" dialog from "Magic" menu item, the console shows:
BTW, in namespace
magic.analyzer.untyped-passes
line 137, there is#_else
seems like a problem.