[Scons-users] Cloning environments, cannot enable custom tools

Killian De Smedt killiands at gmail.com
Sat Oct 26 08:10:44 EDT 2013


Hi Dirk,


On 26 October 2013 13:25, Dirk Bächle <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!

Killian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20131026/d4d04bab/attachment.htm


More information about the Scons-users mailing list