Csound Csound-dev Csound-tekno Search About

Re: csoundapi~ pd

Date2006-05-02 22:11
FromVictor Lazzarini
SubjectRe: csoundapi~ pd
As far as I know the OPCODEDIR defaults to the right place
in the binary distribution. However, I might be wrong on
this.

Anyway, if you check the error in the console utility (as
David describes), we will know more.

Victor


>
> Hi James,
>
> The typical reason to get this exact error is if the
> OPCODEDIR is   undefined, specifically for the Aqua
> interface.
>
> You can confirm this by opening up the Console.app in the
> Utilities   folder and reviewing Csound's output - it will
> likely contain "no legal   opcode" errors.
>
> I described the fix in some detail a short time ago in a
> thread titled   "Addition to Manual" on the Developers
> list. You basically need the   environment.plist located
> in ~/.MacOSX to contain something along the   lines of the
> following [0] and then Log out and Log back in to reset
> the Aqua environment.
>
>
>
> -David
>
> [0]
>
> 
>  1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> 
>    
>      OPCODEDIR
>
> /Library/Frameworks/CsoundLib.framework/Versions/5
> 1/Resources/  Opcodes
>    
> 
>
>
> On May 2, 2006, at 2:37 PM, James Hearon wrote:
>
> > Thanks for info on how to set startup path in Mac Pd.
> > The lib is   loading, but cannot get demo
> > to compile.  Not sure what's going wrong there.
> >
> > Pd-0.38-3 Mac OS X 10.46
> > set path in Pd preferences/startup
> >
> /Library/Frameworks/CsoundLib.Framework/Versions/5.1/Resou
> > rces/PD/  csoundapi~
> > ============================
> > csoundapi~ 1.0
> > A PD csound class using the Csound 5.01.0 API
> > (c) V Lazzarini, 2005
> >
> > /Library/Documentation/Csound/csapi_demo.csd
> > csoundapi~ warning: could not compile
> > help-csoundapi~.pd 4 0 44 3 (adc~->csoundapi~)
> > connection failed help-csoundapi~.pd 4 1 44 3
> > (adc~->csoundapi~) connection failed help-csoundapi~.pd
> > 44 3 0 1 (csoundapi~->dac~) connection failed
> help-csoundapi~.pd 44 4 24 0 (csoundapi~->message)
> > connection failed help-csoundapi~.pd 44 5 25 0
> > (csoundapi~->bng) connection failed csoundapi~ run: 1
> > csoundapi~ warning: orchestra not compiled
>
> --
> Send bugs reports to this list.
> To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk