Csound Csound-dev Csound-tekno Search About

[Csnd] Re: problems building python interface for Mac Leopard

Date2008-02-26 18:36
Fromvictor
Subject[Csnd] Re: problems building python interface for Mac Leopard
csndPythonEnvironment = commonEnvironment.Copy() ?

I need to look at this, SConstruct should build regardless of
it being 10.5 or not. I think it's the static lib build again, which
I thought I'd fixed. Or is it doubles version? I need to get this
right, trouble is finding time these days...

----- Original Message ----- 
From: "Hector Centeno" 
To: 
Sent: Tuesday, February 26, 2008 5:12 PM
Subject: [Csnd] problems building python interface for Mac Leopard


> Hi,
>
> Just in case someone has some time and information to help me with this:
>
> Trying to build csound with interfaces in Mac OS X Leopard, gave me
> errors at this point:
>
> csndPythonEnvironment.Append(LIBS = ['csound','_csnd'])
>
> First I changed the spelling of Append to lowercase and that changed
> the error to name not defined for csndPythonEnvironment. I added some
> hacks to make it work, without knowing if I'm doing the right thing (I
> predefined it this way: csndPythonEnvironment = []), and got pass that
> point but then it stopped at:
>
> csoundPythonInterface =
> csndPythonEnvironment.SharedObject('interfaces/python_interface.i',SWIGFLAGS
> = [swigflags, '-python', '-outdir', '.'])
>
> Saying there is no SharedObject method, which I guess might be related
> to my changes, or not?
>
>
>
> Cheers,
>
> Hector
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2008-02-26 18:45
FromJulian Peterson
Subject[Csnd] Re: Re: problems building python interface for Mac Leopard
Hi Victor---

I never did get the static lib to build, but did have success building  
the dynamic lib on Leopard.  There weren't any Leopard specific  
issues, that I recall.

JP


On Feb 26, 2008, at 1:36 PM, victor wrote:

> csndPythonEnvironment = commonEnvironment.Copy() ?
>
> I need to look at this, SConstruct should build regardless of
> it being 10.5 or not. I think it's the static lib build again, which
> I thought I'd fixed. Or is it doubles version? I need to get this
> right, trouble is finding time these days...
>
> ----- Original Message ----- From: "Hector Centeno"  
> 
> To: 
> Sent: Tuesday, February 26, 2008 5:12 PM
> Subject: [Csnd] problems building python interface for Mac Leopard
>
>
>> Hi,
>>
>> Just in case someone has some time and information to help me with  
>> this:
>>
>> Trying to build csound with interfaces in Mac OS X Leopard, gave me
>> errors at this point:
>>
>> csndPythonEnvironment.Append(LIBS = ['csound','_csnd'])
>>
>> First I changed the spelling of Append to lowercase and that changed
>> the error to name not defined for csndPythonEnvironment. I added some
>> hacks to make it work, without knowing if I'm doing the right thing  
>> (I
>> predefined it this way: csndPythonEnvironment = []), and got pass  
>> that
>> point but then it stopped at:
>>
>> csoundPythonInterface =
>> csndPythonEnvironment.SharedObject('interfaces/ 
>> python_interface.i',SWIGFLAGS
>> = [swigflags, '-python', '-outdir', '.'])
>>
>> Saying there is no SharedObject method, which I guess might be  
>> related
>> to my changes, or not?
>>
>>
>>
>> Cheers,
>>
>> Hector
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2008-02-27 06:15
From"Hector Centeno"
Subject[Csnd] Re: Re: problems building python interface for Mac Leopard
AttachmentsNone  

Date2008-02-27 06:32
From"Hector Centeno"
Subject[Csnd] Re: Re: problems building python interface for Mac Leopard
AttachmentsNone