[Bf-committers] 2.48 makesdna.exe not build
Christian Monfort
monfort.c at gmail.com
Sun Oct 19 14:53:08 CEST 2008
Nathan Letwory a écrit :
> On Sun, Oct 19, 2008 at 1:33 AM, Christian Monfort <monfort.c at gmail.com> wrote:
>
>> VS2008 and SDKs are installed in default directories, on C:
>> Python is in D:\Python25
>> And blender sources are in Q:\Blender248_Dev\blender
>>
>> (I avoid spaces and accents in dir and file names, as I know it can cause
>> problems)
>>
>> Is there a way to debug/display what Scons is doing?
>>
>
> scons BF_QUIET=0
>
> /Nathan
>
>
Ok, I had it working, thanks a lot...
In your last answer I saw you were not using BF_TOOLSET, so I give it a
try and launched the build with:
scons
and, voilà... makesdna.exe was build, and the process goes to its end
successfully :)
although there was tons of warnings from compiler/linker - which I don't
have when using BF_TOOLSET=msvc ??
I'll try to check what is changed when using BF_TOOLSET, but I'm far
from being a scons guru, so I doubt I'll find something usefull, unless
it's obvious...
Again, thanks for your time.
Christian.
PS: after I posted last night, I try the build process with
"--debug=presub" scons option, and I noticed there was no command fired
for building makesdna.exe:
-------------
Q:\Blender248_Dev\blender> scons --debug=presub BF_TOOLSET=msvc
... <hundreds of compile lines> ...
Building
Q:\Blender248_Dev\build\win32-vc\source\blender\makesdna\intern\makesdna.obj
with action:
UnlinkFunc(target, source, env)
Building
Q:\Blender248_Dev\build\win32-vc\source\blender\makesdna\intern\makesdna.obj
with action:
$CC /Fo$TARGET /c $SOURCES $CFLAGS $CCFLAGS $_CCCOMCOM
Compiling ==> 'makesdna.c'
Building Q:\Blender248_Dev\build\win32-vc\makesdna.exe with action:
Linking program ==> 'makesdna.exe'
Building
Q:\Blender248_Dev\build\win32-vc\source\blender\makesdna\intern\dna.c
with action:
..\build\win32-vc\makesdna $TARGET
..\build\win32-vc\makesdna
Q:\Blender248_Dev\build\win32-vc\source\blender\makesdna\intern\dna.c
scons: ***
[Q:\Blender248_Dev\build\win32-vc\source\blender\makesdna\intern\dna.c]
Exception
Traceback (most recent call last):
File "D:\Python25\Lib\site-packages\scons-1.1.0\SCons\Taskmaster.py",
line 220, in execute
self.targets[0].build()
File
"D:\Python25\Lib\site-packages\scons-1.1.0\SCons\Node\__init__.py", line
370, in build
apply(self.get_executor(), (self,), kw)
File "D:\Python25\Lib\site-packages\scons-1.1.0\SCons\Executor.py",
line 145, in __call__
return self.do_execute(target, kw)
File "D:\Python25\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 "D:\Python25\Lib\site-packages\scons-1.1.0\SCons\Action.py", line
467, in __call__
stat = self.execute(target, source, env)
File "D:\Python25\Lib\site-packages\scons-1.1.0\SCons\Action.py", line
681, in execute
result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
File "Q:\Blender248_Dev\blender\tools\btools.py", line 116, in ourspawn
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False)
File "D:\Python25\lib\subprocess.py", line 594, in __init__
errread, errwrite)
File "D:\Python25\lib\subprocess.py", line 816, in _execute_child
startupinfo)
WindowsError: [Error 2] Le fichier spÚcifiÚ est introuvable
scons: building terminated because of errors.
------------------
More information about the Bf-committers
mailing list