On Wed, Apr 1, 2009 at 2:46 PM, Sergey Parfenyuk <myseve...@gmail.com
> I've tried to build sample from source code but faced with some
> problems. I'm not an expert in bat files and in Python. But the fact
> is that Windows Vista doesn't recognize slashes in path string (error
> occurs during scons running). So I replaced them with backslashes and
> then I had a fun from success :) Next, I think codegen.bat is likely
> wrong written:
> if not "%PYTHON"=="" goto :RUN
> Perhaps, it should be:
> if not "%PYTHON%"=="" goto :RUN
> set PYTHON=python.exe
> No? :)
Thanks for trying this. I will look at fixing some of the
windows-related bugs. The .bat change is reasonable. For the '/' vs
'\' in the scons files, I'm a bit surprised, because scons is supposed
to deal with the difference. Which version of scons are you using ?
> And, unfortunately, python haven't generate any file to end the
> building of sample code. It return message: "Source files haven't
> changed: nothing to generate". What reason of this situation?
The program keeps a hash of all the inputs, so that it doesn't
regenerate the output files if the input haven't changed. It keeps the
hash into the glue/hash file (inside the examples directory). Maybe
one of the runs produced the hash but not the files ? If you
completely delete the glue/ directory, it should work again.
> Thanks for attention.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Q: What is the most annoying thing in e-mail?