[Scons-users] Re-2: Code generation dependency problem

Dirk Bächle tshortik at gmx.de
Mon Dec 8 17:19:54 EST 2014


Roman,

On 08.12.2014 14:03, Roman Karlstetter wrote:
> Hi Dirk,
>
> [...]
>
> I tried some other things, and now I think that my problem is related to the fact that I'm using a variant_dir build.
>
> When I activate the variant_dir build, there seems to be a problem with the dependencies, which explains why it works for a single process build: the cpp-file is, by chance, generated before the corresponding object file is built. For more processes, both jobs are started at the same time, with the result that the cpp-file is not available yet.
>
> [...]
>
> Any ideas what I am still doing wrong?
if you're using the "duplicate=0" option, remove it or set it to 
"duplicate=1". If the error goes away then, your Builder is probably not 
able to correctly handle the case where the source file is located in a 
folder which is different to the target's.

Regards,

Dirk



More information about the Scons-users mailing list