Compiling blender Error

I had compiling svn blender working fine on another computer but now it seems that it doesn’t work on this one. The only differences i can think of are a more recent version of scons and python 2.6. I’m getting this error:

c:\build\build_dir\makesdna C:\build\build_dir\source\blender\makesdna\intern\dna.c
scons: *** [C:\build\build_dir\source\blender\makesdna\intern\dna.c] Exception
CTompiling ==> ‘BPY_menus.c’
raceback (most recent call last):
File “C:\Program Files\Python26\Lib\site-packages\scons-1.0.1\SCons\”, line 222, in execute
File “C:\Program Files\Python26\Lib\site-packages\scons-1.0.1\SCons\”, line 372, in build
apply(self.get_executor(), (self,), kw)
File “C:\Program Files\Python26\Lib\site-packages\scons-1.0.1\SCons\”, line 145, in call
return self.do_execute(target, kw)
File “C:\Program Files\Python26\Lib\site-packages\scons-1.0.1\SCons\”, line 131, in do_execute
status = apply(act, (self.targets, self.get_sources(), env), kw)
File “C:\Program Files\Python26\Lib\site-packages\scons-1.0.1\SCons\”
, line 468, in call
stat = self.execute(target, source, env)
File “C:\Program Files\Python26\Lib\site-packages\scons-1.0.1\SCons\”
, line 622, in execute
result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
File “C:\build\blender ools\”, line 116, in ourspawn
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False)
File “C:\Program Files\Python26\lib\”, line 595, in init
errread, errwrite)
File “C:\Program Files\Python26\lib\”, line 821, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
scons: building terminated because of errors.
The system cannot find the path specified.
strip: ‘blender.exe’: No such file
strip: ‘blenderplayer.exe’: No such file
Press any key to continue . . .

Edit* I had to set the build_dir in the user-config file and it worked.

More specifically, I think it was because on command-line you had


where in it was of the form


Where the relative form and potentially the escaped slashes are important. This is something I need to address in the blender 2.5 branch.