[Scons-users] Re-2: Re-2: Code generation dependency problem
Stijn De Ruyck
Stijn.DeRuyck at onsemi.com
Tue Dec 9 05:07:04 EST 2014
Hi Roman,
Maybe a short, self-contained example of your SConstruct/SConscript might help us/me. Strip out all irrelavant bits and replace your Builder with some dummy stuff so you get the least amount of scons code that reproduces your problem.
Regards,
Stijn
-----Original Message-----
From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of Roman Karlstetter
Sent: Tuesday, December 09, 2014 9:41 AM
To: scons-users at scons.org
Subject: [Scons-users] Re-2: Re-2: Code generation dependency problem
Hi Dirk,
> 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.
I am using duplicate=0. Removing it or setting it to "duplicate=1" does not solve the problem
The problem might perhaps be related to creating the generated file in the variant dir? (with duplicate=1, generated file not existing)
scons.py project_x86/build/debug/g++/generated.cpp
scons: *** Do not know how to make File target `project_x86\build\debug\g++\generated.cpp' (D:\path\to\project\project_x86\build\debug\g++\generated.cpp).
Any other ideas how I could solve this?
Regards,
Roman
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
More information about the Scons-users
mailing list