On Tuesday, May 12, 2015 at 10:55:27 PM UTC-4, piast...@gmail.com wrote: > > If I: > > git clone https://github.com/overtone/overtone.git > > cd overtone > > lein repl > > and then at the REPL, I try to load Overtone: > > > user=> (all-ns) > (#<Namespace clojure.set> #<Namespace clojure.tools.nrepl.ack> #<Namespace > clojure.stacktrace> #<Namespace clojure.string> #<Namespace > clojure.java.browse> #<Namespace clojure.tools.nrepl.middleware.load-file> > #<Namespace clojure.uuid> #<Namespace complete.core> #<Namespace > clojure.main> #<Namespace clojure.tools.nrepl.middleware.session> > #<Namespace user> #<Namespace clojure.test> #<Namespace > clojure.java.javadoc> #<Namespace clojure.tools.nrepl> #<Namespace > clojure.repl> #<Namespace clojure.tools.nrepl.bencode> #<Namespace > clojure.tools.nrepl.server> #<Namespace clojure.java.io> #<Namespace > clojure.tools.nrepl.middleware> #<Namespace clojure.template> #<Namespace > clojure.java.shell> #<Namespace clojure.core.protocols> #<Namespace > clojure.tools.nrepl.transport> #<Namespace > clojure.tools.nrepl.middleware.interruptible-eval> #<Namespace > clojure.pprint> #<Namespace clojure.core> #<Namespace > clojure.tools.nrepl.misc> #<Namespace > clojure.tools.nrepl.middleware.pr-values> #<Namespace clojure.walk> > #<Namespace reply.exports> #<Namespace clojure.instant>) > > user=> (resolve 'overtone.studio.inst) > > ClassNotFoundException overtone.studio.inst java.net.URLClassLoader$1.run > (URLClassLoader.java:372) > user=> (ns-resolve *ns* 'overtone.studio.inst) > > ClassNotFoundException overtone.studio.inst java.net.URLClassLoader$1.run > (URLClassLoader.java:372) > user=> (ns-resolve *ns* overtone.studio.inst) > CompilerException java.lang.ClassNotFoundException: overtone.studio.inst, > compiling:(/private/var/folders/85/50nmp8fx3q72pxv4zlh_74pm0000gn/T/form-init5181314797293724962.clj:1:1) > > > user=> *ns* > #<Namespace user> > user=> (namespace 'overtone.studio.inst) > nil > user=> (namespace overtone.studio.inst) > > CompilerException java.lang.ClassNotFoundException: overtone.studio.inst, > compiling:(/private/var/folders/85/50nmp8fx3q72pxv4zlh_74pm0000gn/T/form-init5181314797293724962.clj:1:1) > > > > What am I doing wrong? >
Looks like Overtone isn't in the classpath. I'd check the lein documentation for how to add a library to the classpath, or use a batteries-included IDE like CCW that has its own built-in library package manager and also manages things like classpaths for you. IME, in CCW using a new library is as simple as add it to project.clj dependencies, wait for CCW to finish auto-downloading stuff, and then launch REPL. -- 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/d/optout.