I'm using Clojure-CLR 1.5 and cannot get a simple hello,world to compile
into an executable using Clojure.Compile.exe.
Code:
(ns clojureclr-test
(:gen-class))
(defn -main []
(println "Hello, World))
When I attempt to compile the code using Clojure.Compile.exe I get the
following error:
C:\Users\fhale\Desktop\sandbox>clojure.compile.exe clojureclr-test
Compiling clojureclr-test to .System.IO.FileNotFoundException: Could not
locate
clojureclr_test.clj.dll or clojureclr_test.clj on load path.
at clojure.lang.RT.load(String relativePath, Boolean failIfNotFound) in
d:\wo
rk\clojure-clr\Clojure\Clojure\Lib\RT.cs:line 3307
at clojure/core$load$fn__17179__17183.invoke() in :line 0
at clojure/core$load__17186.doInvoke(Object ) in :line 0
at clojure/core$load_one__17059.invoke(Object , Object , Object ) in
:line 0
at clojure/core$compile$fn__17193__17197.invoke() in :line 0
at clojure/core$compile__17200.invoke(Object ) in :line 0
at BootstrapCompile.Compile.Main(String[] args) in
d:\work\clojure-clr\Clojur
e\Clojure.Compile\Compile.cs:line 78
Additionally I thought perhaps I should set the CLOJURE_LOAD_PATH but that
did not resolve this compilation issue. Is there anything special I need to
do in order to set up the Clojure compiler in order to produce executables
or DLLs?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.