ok, the problem was that you need to call the environment batch files each time you want to compile. ugly if you don't know.
edit:
so and now i get this after a while:
[...]
Linking library ==> 'bf_imbuf.lib'
Linking library ==> 'bf_cineon.lib'
Linking program ==> 'makesdna.exe'
..\build\win32-vc\makesdna C:\BlenderDev\build\win32-vc\source\blender\makesdna\
intern\dna.c
scons: *** [C:\BlenderDev\build\win32-vc\source\blender\makesdna\intern\dna.c] E
xception
Traceback (most recent call last):
File "c:\Python25\Scripts\..\Lib\site-packages\scons-1.1.0\SCons\Taskmaster.py
", line 220, in execute
self.targets[0].build()
File "c:\Python25\Scripts\..\Lib\site-packages\scons-1.1.0\SCons\Node\__init__
.py", line 370, in build
apply(self.get_executor(), (self,), kw)
File "c:\Python25\Scripts\..\Lib\site-packages\scons-1.1.0\SCons\Executor.py",
line 145, in __call__
return self.do_execute(target, kw)
File "c:\Python25\Scripts\..\Lib\site-packages\scons-1.1.0\SCons\Executor.py",
line 131, in do_execute
status = apply(act, (self.targets, self.get_sources(), env), kw)
File "c:\Python25\Scripts\..\Lib\site-packages\scons-1.1.0\SCons\Action.py", l
ine 467, in __call__
stat = self.execute(target, source, env)
File "c:\Python25\Scripts\..\Lib\site-packages\scons-1.1.0\SCons\Action.py", l
ine 681, in execute
result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
File "C:\BlenderDev\kai\tools\btools.py", line 121, in ourspawn
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False)
File "c:\Python25\lib\subprocess.py", line 593, in __init__
errread, errwrite)
File "c:\Python25\lib\subprocess.py", line 793, in _execute_child
startupinfo)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden
scons: building terminated because of errors.
note that the same source compiles fine with cmake and mingw. looks like makesdna.exe isn't there.
edit #2:
never mind, just saw the same problem in the other thread and already be answered. the solution is to remove BF_TOOLSET=msvc then it works because msvc is used also by default. but this should really be fixed.
thank you jesterking.