Thanks Shantanu, I will look into lein-clr.

On Tue, Nov 19, 2013 at 11:57 AM, Frank Hale <frankh...@gmail.com> wrote:

> Ugh, as it always goes right after posting to a mailing list you find out
> what the problem is. My clojure source file name was the problem. I had a
> dash in the filename and apparently that is a problem. All is well. LOL!
>
>
> On Tue, Nov 19, 2013 at 11:54 AM, Shantanu Kumar <kumar.shant...@gmail.com
> > wrote:
>
>> Hi Frank,
>>
>> (Saw your post shared on ClojureCLR Google+ but was unable to comment.)
>>
>> This may be slightly tangential but you might want to look at lein-clr:
>> https://github.com/kumarshantanu/lein-clr
>>
>> It makes these things easier to do on the command-line. You need to
>> install Java and Leiningen to run lein-clr. It automatically takes care of
>> setting CLOJURE_LOAD_PATH and CLOJURE_COMPILE_PATH environment variables.
>>
>> Shantanu
>>
>>
>> On Tuesday, 19 November 2013 22:18:07 UTC+5:30, Frank Hale wrote:
>>>
>>> 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 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
>> ---
>> 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 clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to