python-2.4.1
scons-0.96.91
VCToolkit
Windows Server 2003 SP1 Platform SDK
Build.bat (in the NSIS source directory):
But there are errors when I try to compile:@ECHO OFF
set MSSDK=D:\Program Files\Microsoft Platform SDK
set VCToolkitInstallDir=D:\Program Files\Microsoft Visual C++ Toolkit 2003
set Python=D:\Python24
set PATH=%Python%;%PATH%
set INCLUDE=%MSSDK%\include;%INCLUDE%
set LIB=%MSSDK%\lib;%LIB%
scons MSTOOLKIT=yes
scons: Reading SConscript files ...I read in forum about the same error, it was environment variable problem, but why scons don't find liberaries, all paths is ok.
Delete("nsis-09-Oct-2005.cvs")
Delete(".instdist")
Delete(".test")
Using Microsoft tools configuration
Checking for main() in C library gdi32... (cached) no
Checking for main() in C library user32... (cached) no
Checking for main() in C library version... (cached) no
Checking for main() in C library pthread... (cached) no
Checking for main() in C library stdc++... (cached) no
Checking for main() in C library iconv... (cached) no
Checking for main() in C library dl... (cached) no
Checking for main() in C++ library cppunit... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
cl /nologo /O1 /W3 /c Contrib\AdvSplash\advsplash.c /Fobuild\release\AdvSplash\a
dvsplash.obj
advsplash.c
Contrib\AdvSplash\advsplash.c(214) : error C2065: 'LWA_ALPHA' : undeclared ident
ifier
Contrib\AdvSplash\advsplash.c(214) : error C2065: 'LWA_COLORKEY' : undeclared id
entifier
Contrib\AdvSplash\advsplash.c(244) : error C2065: 'WS_EX_LAYERED' : undeclared i
dentifier
Contrib\AdvSplash\advsplash.c(270) : error C2065: 'DWORD_PTR' : undeclared ident
ifier
Contrib\AdvSplash\advsplash.c(270) : error C2146: syntax error : missing ')' bef
ore identifier 'myWnd'
Contrib\AdvSplash\advsplash.c(270) : error C2144: syntax error : '<Unknown>' sho
uld be preceded by '<Unknown>'
Contrib\AdvSplash\advsplash.c(270) : error C2144: syntax error : '<Unknown>' sho
uld be preceded by '<Unknown>'
Contrib\AdvSplash\advsplash.c(270) : error C2143: syntax error : missing ')' bef
ore 'identifier'
Contrib\AdvSplash\advsplash.c(270) : error C2198: 'timeSetEvent' : too few argum
ents for call through pointer-to-function
Contrib\AdvSplash\advsplash.c(270) : error C2059: syntax error : ')'
scons: *** [build\release\AdvSplash\advsplash.obj] Error 2
scons: building terminated because of errors.