[Scons-users] implicite include dependencies is not working in scons-2.x.x

Ronny De Clerck ronny.declerck at advalvas.be
Mon Jan 27 16:05:35 EST 2014


Hi Dirk,



I am using cygwin on window 7 PC (32bit). There is a python installed in
cygwin (2.7.3) and a native one under windows (2.6.?). The scons is only
installed in the cygwin environment.



I am sure the main.h existed and was clean. I also did the same test with
the previous version 2.2.0 and it did not work either.

I tried it many times and each time gave the same result . The directory
was completely clean.



Normally I am using the scons for a bigger project with more advanced scons
files and noticed the same problem. That is why I tried to isolate the
problem and at last tested with different versions.



We have some extra libs installed in python. Tomorrow I will check which
ones because it is on my computer at the office.



I installed a few times up to 2.3.0 and down to 1.3.1 and it always gave the
same result for the test. : 1.3.1 : OK; 2.3.0 : NOK



Best regards,

Ronny.



Van: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org]
Namens Dirk Bächle
Verzonden: maandag 27 januari 2014 20:19
Aan: scons-users at scons.org
Onderwerp: Re: [Scons-users] implicite include dependencies is not working
in scons-2.x.x



Hi Ronny,

On 27.01.2014 19:48, Ronny De Clerck wrote:

As from version 2 of scons a source file is not rebuild in case a dependent
include file is changed. In version 1.3.1 the rebuilding is done correctly.
Following is the output of a very small test that seems to confirm this.




using the same SCons version as you did (v2.3.0) I can't confirm this. On my
Linux Ubuntu box (12.04 LTS) your example works fine. The dependency to
"main.h" is detected correctly, and so the compiling step gets repeated when
the header changes.

Can you try to use v2.3.0 in a clean directory? Are you sure that "main.h"
existed when calling "scons"?

Best regards,

Dirk



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140127/198857eb/attachment.htm


More information about the Scons-users mailing list