Hi - <br><br>Build went very smoothly. However, I'm getting an error trying to load a file:<br><br>william-mcallisters-macbook-pro:bin ben$ ./cm --load ../../../../Documents/csound/test.lisp <br>JUCE v1.46<br>JUCE v1.46 (c) 2009 Julian Storer<br>
SndLib 20.11 (c) 2009 William Schottstaedt<br> /\\\<br>---\\\---------<br>----\\\--------<br>----/\\\------- Common Music 3.2.4<br>---/--\\\------<br>--/----\\\-----<br> / \\\/<br><br>;io-error open-input-file: can't open /Applications/cm/src/cm.lisp, ../../../../Documents/csound/test.lisp[2]<br>
io-error<br>cm> <br><br>Any ideas?<br><br>Thanks!<br>b<br><br><div class="gmail_quote">On Mon, Apr 20, 2009 at 3:17 AM, Heinrich Taube <span dir="ltr"><<a href="mailto:taube@uiuc.edu">taube@uiuc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've recently moved to Mac and am trying to do the same with CM3. i.e you cannot pass the mac 'cm' binary a file to evaluate i.e.<br>
</blockquote>
<br>
actually i added command line options to the cm app this past weekend, including --load, --eval and --batch options. you can provide multiple --eval and --load options, they are processes in a left-to-right manner. here is the set i have so far:<br>
<br>
hkt$ cm --help<br>
Usage: cm [options]<br>
options:<br>
--version print version and exit<br>
--help print help and exit<br>
--load <file> load file<br>
--eval <expr> evaluate expression<br>
--batch process options and exit<br>
--quiet don't print startup banner<br>
<br>
i also completly rewrote the read-loop, it now handles multi-line input much better. if you are using the cm console app you should definately do a svn update. i removed the 'q' option for quitting, use the (quit) function to quit instead.<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Listen Faster: <a href="http://www.listenfaster.com">http://www.listenfaster.com</a> - audio, film and technology<br><br>