I have a 3rd party platform I am working to write add-ons for and so am restricted to .Net. I'd like to write in Clojure. ClojureCLR looked too intimidating to get it going and ikvmc was very easy for Java, so I thought I'd try it with Clojure.
I ran ikvmc on clojure.jar and saw a number of errors (or something), but ignored them, and it did create clojure.dll. I ran ikvmc on my own .class files that were generated by the compile macro. Trying to call a method on my class (with clojure.dll referenced) resulted in: Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'test.clojure.MyClass' threw an exception. ---> System.TypeInitializationExcep tion: The type initializer for 'clojure.lang.RT' threw an exception. ---> java.l ang.RuntimeException: java.io.FileNotFoundException: Could not locate clojure/co re__init.class or clojure/core.clj on classpath: --- End of inner exception stack trace --- at clojure.lang.Namespace..ctor(Symbol ) at clojure.lang.Namespace.findOrCreate(Symbol name) at clojure.lang.Var.internPrivate(String nsName, String sym) at test.clojure.MyClass..cctor() --- End of inner exception stack trace --- at test.clojure.MyClass.main(String[] strarr) at <StartupCode$FSTestApp>.$Mentics.Series.App.main@() in C:\Users \jshellman\ Documents\Visual Studio 2008\Projects\FSTestForNT\FSTestApp \Mentics.Series.App.f s:line 14 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en