Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Got Overtone running on Windows 7, so I can answer any setup questions
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marc  
View profile  
 More options Apr 8 2012, 10:37 am
From: Marc <marc.van.groo...@gmail.com>
Date: Sun, 8 Apr 2012 07:37:35 -0700 (PDT)
Local: Sun, Apr 8 2012 10:37 am
Subject: Re: Got Overtone running on Windows 7, so I can answer any setup questions
Hi Bojan,

I cannot speak for Windows 7 because i'm still on XP but as a fellow-
noober and having gone through all
this too recently I have a couple of notes that may help:

- I don't use cygwin and i usually don't install clojure explicitly
- Downloaded the lein.bat from https://raw.github.com/technomancy/leiningen/stable/bin/lein.bat
- I'm not aware of any other requirements for lein (though I already
had ant and maven so I'm not sure)
- Make sure it's found in PATH
- lein self-install
- lein plugin install swank-clojure 1.4.2 (this installs it so that
you don't need it in project.clj
  every time)
- lein new overtone-test
- cd overtone-test
- edit project.clj (note that i'm using clojure 1.3.0):

(defproject overtone-test "1.0.0-SNAPSHOT"
  :description "FIXME: write description"
  :dependencies [[org.clojure/clojure "1.3.0"]
                 [overtone "0.6.0"]])

- lein deps

Emacs:
- I used http://alpha.gnu.org/gnu/emacs/windows/emacs-20120319-r107630-bin-i38...
(using emacs 24
  is easier than < 24)
- Create/update ~/.emacs.d/init.el (~ refers to whatever you have set
as %HOME%) and added

(require 'package)
(add-to-list 'package-archives
             '("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)

- Start emacs
- M-x package-refresh-contents
- instead of using the whole live coding setup for emacs I wanted to
start as simple as possible,
  from here on you can use M-x package-install to install other emacs
packages
- M-x package-install RET starter-kit-lisp RET
  you'll get some compilation warnings, don't worry about them, it
doesn't include clojure-mode so
- M-x package-install RET clojure-mode RET

From here on you should be able to go by opening a .clj from your
project, M-x clojure-jack-in.

- for me the live server didn't work and from other messages in this
group i saw that others
  also didn't get the live server to work on windows, i therefor
always start SC separately
  and connect to it from the REPL using (connect-external-server
57110)

As always YMMV but after having gone through several older emacs/swank/
slime recipes in hindsight
all was simpler than I initially thought or what some of these recipes
made it look like.

It's a bummer that I found Overtone only a couple of days before my
holidays ends since I will have
less time to play with it from next week ;-(

--Marc

On Mar 1, 12:21 am, Bojan Radakovic <mono.mach...@gmail.com> wrote:

> A few noobish questions. Do i need cake, maven and lein? I mean, like all
> three? Also, im a bit off-grid, so downloading dependencies will be
> interesting, at least :D I got cygwin, just need to download packages and
> carry them home. Where do i find ant and maven?  http://jartur.l-square.net/2010/02/20/clojure-emacs-windows/dissapeared :(

> So, steps i need to take are ( as far as i got it )

> 1. Install cygwin and install clojure
> 2. Get lein / maven ?
> 3. Make lein / maven to pull other necessary stuff ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.