[CM] snd pd external reports "Unbound variable: in" during startup

Kjetil S. Matheussen k.s.matheussen at notam02.no
Mon Jul 21 10:10:16 PDT 2008


On Mon, 21 Jul 2008, Carlos Pita wrote:

> > First, change your definition of srfi-loaded into:
> > (define srfi-loaded #f)
> 
> Sorry, I had already done that but I'm mostly into the c mindset
> today, so I mentally type casted it :).
> 
> > And second change insert this definition of c-display:
> >
> > (define (c-display . args)
> >  (let ((printfunc display))
> >    (c-for-each (lambda (n arg)
> >                  (if (> n 0)
> >                      (printfunc " "))
> >                  (printfunc arg))
> >                args)
> >    (printfunc #\newline)))
> 
> Done. And it finally DID work!!!...last has been an awful and long
> recompilation night for me, but not in vain.
> 
> One thing that maybe should make its way into the docs: it's necessary
> to point SCHEME_LOAD_PATH to the snd folder in order to let the
> external load the scripts, it's not enough to add this folder to pd
> path, as it's the case with pyext.
> 

My thought is that you start pd inside your project directory, where
all .pd and .scm files are placed:

$ cd myproject
$ pd start.pd

I think that should work without having to set any environment
variables.


> > BTW. Sorry for not testing things before posting,
> > but I don't have access to my machine now.
> 
> Sorry? Are you kidding? I'm the one who's a nuisance here. Thanks
> Kjetil for your prompt support
> 

Well, I'm sitting on a linux machine, but it's not set up
to run pd with snd.



More information about the Cmdist mailing list