[Scons-users] Cloning environments, cannot enable custom tools
    Dirk Bächle 
    tshortik at gmx.de
       
    Sun Oct 27 04:13:07 EDT 2013
    
    
  
On 26.10.2013 14:10, Killian De Smedt wrote:
> Hi Dirk,
>
>
> On 26 October 2013 13:25, Dirk Bächle <tshortik at gmx.de 
> <mailto:tshortik at gmx.de>> wrote:
>
>     Killian,
>
>     On 26.10.2013 12:13, Killian De Smedt wrote:
>>     [...]
>>
>>     Okay, I changed to using this method, but I should mention that
>>     the scons user guide still promotes this old method
>>     (http://www.scons.org/doc/HTML/scons-user/x3641.html). However,
>>     now this custom builder got copied I got stuck on almost exactly
>>     the same error, but now with the non-custom 'StaticLibrary':
>>     AttributeError: 'SConsEnvironment' object has no attribute
>>     'StaticLibrary'
>
>     can you show us your current SConstruct, where you setup the
>     Environment and then Clone() it?
>
>
> While copy-pasting I found out what my mistake was, in one of the 
> SConscripts' Clone()'s I apparently had a `BUILDER = {...}' parameter 
> left, I removed that and put an AddMethod for that builder behind the 
> clone, now scons runs fine, thank you very much for your help!
>
You're very welcome. Good to hear that it's working as expected now.
Regards,
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20131027/c507fd37/attachment.html 
    
    
More information about the Scons-users
mailing list