| I'm looking at SConstruct from CVS today.
I'm a novice wrt this code remember... but It looks like there are 2
blocks that have lost their indentation:
around line 2049
> if commonEnvironment['useDouble'] != '0':
> counterpoint = acEnvironment.Program(
> 'counterpoint', ['frontends/CsoundAC/
> CounterpointMain.cpp'],
> LIBS = Split('CsoundAC csnd csound64'))
> else:
> counterpoint = acEnvironment.Program(
> 'counterpoint', ['frontends/CsoundAC/
> CounterpointMain.cpp'],
> LIBS = Split('CsoundAC csnd csound32'))
> zipDependencies.append(counterpoint)
>
and around line 2117
> if commonEnvironment['useDouble'] != '0':
> csoundvstGui = guiProgramEnvironment.Program(
> 'CsoundVSTShell', ['frontends/CsoundVST/
> csoundvst_main.cpp'],
> LIBS = Split('csound64 csnd CsoundVST'))
> else:
> csoundvstGui = guiProgramEnvironment.Program(
> 'CsoundVSTShell', ['frontends/CsoundVST/
> csoundvst_main.cpp'],
> LIBS = Split('csound32 csnd CsoundVST'))
> executables.append(csoundvstGui)
> Depends(csoundvstGui, csoundvst)
In editing python scripts one has to bear in mind the difference
between a tab and 4 spaces.
Anyway I indented them 4 spaces and the code ran through to the
compile phase.
D.
On 17/03/2008, at 11:28 PM, kelly hirai wrote:
> (im resending this because i found the date was incorrectly set on
> this
> machine)
>
>
> i think that whole if block is missing a level of indention and
> possibly
> the two lines after it. the vst build code below it as well. i could
> be
> wrong, but i do get a build in linux.
>
> could we put the elimination of the arguments to Environment() on
> line 243
> for the linux build in the build html doc? that has been hanging me
> up for
> months, i had to squint through some japanese to find it on nabble.
>
> k.
>
>
> On Sun, 16 Mar 2008, Steven Yi wrote:
>
>> It is still broken. The error I get is:
>>
>> NameError: name 'acEnvironment' is not defined:
>> File "C:\work\workspace\csound5\SConstruct", line 2054:
>> counterpoint = acEnvironment.Program(
>>
>>
>> On Sun, Mar 16, 2008 at 6:19 PM, Michael Gogins
>> wrote:
>>> This should be fixed now.
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>>
>>> ----- Original Message -----
>>> From: "Steven Yi"
>>> To: "Developer discussions"
>>> Sent: Sunday, March 16, 2008 8:58 PM
>>> Subject: [Cs-dev] Broken Build
>>>
>>>
>>>> Hi All,
>>>>
>>>> The latest SConstruct is broken. I get an error that
>>>> acEnvironment is
>>>> not defined, and It has to do with these lines:
>>>>
>>>>
>>>> if commonEnvironment['useDouble'] != '0':
>>>> counterpoint = acEnvironment.Program(
>>>> 'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>>>> LIBS = Split('CsoundAC csnd csound64'))
>>>> else:
>>>> counterpoint = acEnvironment.Program(
>>>> 'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>>>> LIBS = Split('CsoundAC csnd csound32'))
>>>> zipDependencies.append(counterpoint)
>>>>
>>>> These lines look mal-indented and the zipDependencies line seems
>>>> like
>>>> it needs to be called for either of those branches of code there,
>>>> but
>>>> it won't work unless duplicated for both branches or else
>>>> counterpoint
>>>> be defined as a var on the same indentation level as
>>>> zipDependencies.
>>>>
>>>> I'm not sure what was intended with this change so will wait for
>>>> the fix.
>>>>
>>>> Thanks,
>>>> steven
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by: Microsoft
>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
________________________________________________
David Worrall.
- Experimental Polymedia: www.avatar.com.au
- Education for Financial Independence: www.mindthemarkets.com.au
Australian research affiliations:
- Capital Markets Cooperative Research Centre: www.cmcrc.com
- Sonic Communications Research Group: creative.canberra.edu.au/scrg
- MARCS Auditory Laboratories: marcs.uws.edu.au
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |