I tried to compile NSIS with Scons and the MS Toolkit, but it fails, the command prompt tells me that the sdk path could not be found in the registry, i tried to use CPPPATH and LIBPATH to set the path manually but it did not help.
Can someone please help me?
D:\Downloads\nsis\NSIS>scons -j4 MSTOOLKIT=YES
scons: Reading SConscript files ...
scons: *** Path does not exist for option CPPPATH:
File "SConstruct", line 61, in ?
D:\Downloads\nsis\NSIS>scons -j4 MSTOOLKIT=YES CPPPATH="C:\Program Files\Microso
ft Visual C++ Toolkit 2003\Bin"
scons: Reading SConscript files ...
scons: *** Path does not exist for option LIBPATH:
File "SConstruct", line 61, in ?
D:\Downloads\nsis\NSIS>scons -j4 MSTOOLKIT=YES CPPPATH="C:\Program Files\Microso
ft Visual C++ Toolkit 2003\Bin" LIBPATH="C:\Program Files\Microsoft Visual C++ T
oolkit 2003\lib"
scons: Reading SConscript files ...
internal error
Traceback (most recent call last):
File "C:\Program Files\Python24\scons\SCons\Script\__init__.py", line 1103, in
main
_exec_main()
File "C:\Program Files\Python24\scons\SCons\Script\__init__.py", line 1097, in
_exec_main
_main(args, parser)
File "C:\Program Files\Python24\scons\SCons\Script\__init__.py", line 903, in
_main
SCons.Script.SConscript._SConscript(fs, script)
File "C:\Program Files\Python24\scons\SCons\Script\SConscript.py", line 239, i
n _SConscript
exec _file_ in stack[-1].globals
File "SConstruct", line 71, in ?
defenv.Tool('mstoolkit', toolpath = ['SCons/Tools'])
File "C:\Program Files\Python24\scons\SCons\Environment.py", line 906, in Tool
return SCons.Tool.Tool(tool, map(self.subst, toolpath))(self)
File "C:\Program Files\Python24\scons\SCons\Tool\__init__.py", line 53, in __c
all__
apply(self.generate, ( env, ) + args, kw)
File "SCons/Tools\mstoolkit.py", line 283, in generate
include_path, lib_path, exe_path, sdk_path = get_msvctoolkit_paths()
File "SCons/Tools\mstoolkit.py", line 82, in get_msvctoolkit_paths
raise SCons.Errors.InternalError, "The Platform SDK directory was not found
in the registry."
InternalError: The Platform SDK directory was not found in the registry.
D:\Downloads\nsis\NSIS>