Currently having some trouble building this on Windows. If I just run
scons from the root source directory, I get:
---------------------------------------------------------------------------------------
WindowsError: [Error 2] The system cannot find the file specified:
File "D:\visual_studio_projects\OHRRPGCE\SConstruct", line 7:
build ('build')
File "D:\visual_studio_projects\OHRRPGCE\SConstruct", line 5:
SConscript('SConscript',variant_dir=dir, **kwargs)
File "C:\Python25\Lib\site-packages\scons-2.0.1\SCons\Script\SConscript.py",
line 614:
return method(*args, **kw)
File "C:\Python25\Lib\site-packages\scons-2.0.1\SCons\Script\SConscript.py",
line 551:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Python25\Lib\site-packages\scons-2.0.1\SCons\Script\SConscript.py",
line 260:
exec _file_ in call_stack[-1].globals
File "D:\visual_studio_projects\OHRRPGCE\build\SConscript", line 292:
verprint()
File "D:\visual_studio_projects\OHRRPGCE\build\SConscript", line 235:
date, rev = query_svn('svn','info')
File "D:\visual_studio_projects\OHRRPGCE\build\SConscript", line 218:
f = Popen (command, stdout = PIPE, stderr = PIPE)
File "C:\Python25\lib\subprocess.py", line 594:
errread, errwrite)
File "C:\Python25\lib\subprocess.py", line 816:
startupinfo)
---------------------------------------------------------------------------------------
...it seems to be unable to load the current revision information from
SVN. (I am using this on a freshly checked-out source, using SVN). Any
ideas?
If I tweak the code to return a random date/revision (hooray,
standards!) then I get:
---------------------------------------------------------------------------------------
'fbc' is not recognized as an internal or external command,
operable program or batch file.
---------------------------------------------------------------------------------------
This is VERY odd, because if I type "fbc" in the command line, I
immediately get Free Basic's help text.
I tried to hack around this by manually passing the path to scons:
scons env="PATH:%PATH%"
....but then I got:
---------------------------------------------------------------------------------------
scons: *** Do not know how to make File target `Shared\Windows'
(D:\visual_studio_projects\OHRRPGCE\Shared\Windows). Stop.
---------------------------------------------------------------------------------------
...which might either be the first real error with the script, or some
artifact from me forcing through the path/changing the SVN revision,
etc. Better to figure out the first two first, I think.
> Currently building is done in a build/ subdir. This obsoletes eg
> 'clean' targets (just 'rm -r ./build') and keeps .o files from
> cluttering up the source directory.
Question: can you still run the default 'clean' target?
E.g.:
http://www.scons.org/doc/production/HTML/scons-user/x335.html
Thanks,
-->Seth
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org