Can't compile NSIS.
python-2.5.2
scons-1.2.0
nsis-2.44-src
Microsoft Visual C++ Toolkit 2003
Microsoft Platform SDK
@ECHO OFF
set Python=C:\Python25\Scripts
set MSSDK=D:\Program Files\Microsoft Platform SDK
set VCToolkitInstallDir=D:\Program Files\Microsoft Visual C++ Toolkit 2003
::Environment::
Set PATH=%Python%;%VCToolkitInstallDir%\bin;%MSSDK%\bin;%PATH%
Set INCLUDE=%VCToolkitInstallDir%\include;%MSSDK%\include;%INCLUDE%
Set LIB=%VCToolkitInstallDir%\lib;%MSSDK%\lib;%LIB%
::Build::
scons MSTOOLKIT=yes PREFIX="D:\NSIS" install
@PAUSE
Delete("nsis-25-Mar-2009.cvs")
Delete(".instdist")
Delete(".test")
Using Microsoft tools configuration
*** Couldn't find a good version of libcp.lib
file C:\a\VC\NSIS\!Source\nsis-2.44-src\SCons\Config\ms,line 46:
Configure(confdir = .sconf_temp)
scons: Configure: ".sconf_temp\conftest_0.cpp" is up to date.
scons: Configure: The original builder output was:
|.sconf_temp\conftest_0.cpp <-
| |
| |#include <fstream>
| |int main() {
| | // no change
| | std::ofstream header("test", std::ofstream::out);
| | return 0;
| |}
| |
|
cl /nologo /GX /TP /DNSISCALL=__stdcall /c .sconf_temp\conftest_0.cpp /Fo.sconf_temp\conftest_0.obj
conftest_0.cpp
"D:\Program Files\Microsoft Platform SDK\bin\Win64\link.exe" /nologo /OUT:.sconf_temp\conftest_0.exe .sconf_temp\conftest_0.obj
conftest_0.obj : error LNK2019: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB) referenced in function "protected: virtual class std::fpos<int> __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::seekoff(long,int,int)" (?seekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@JHH@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(unsigned int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z) referenced in function "public: class std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::open(char const *,int,int)" (?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDHH@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "__int64 std::_Fpz" (?_Fpz@std@@3_JA) referenced in function "public: __thiscall std::fpos<int>::fpos<int>(long)" (??0?$fpos@H@std@@QAE@J@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@QAEXXZ) referenced in function "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
conftest_0.obj : error LNK2019: unresolved external symbol "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const " (?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
.sconf_temp\conftest_0.exe : fatal error LNK1120: 8 unresolved externals
.sconf_temp\conftest_1.cpp <-
|
|#include <fstream>
|int main() {
| // using D:\Program Files\Microsoft Platform SDK\lib\libcp.lib
| std::ofstream header("test", std::ofstream::out);
| return 0;
|}
|
cl /nologo /GX /TP /DNSISCALL=__stdcall /c .sconf_temp\conftest_1.cpp /Fo.sconf_temp\conftest_1.obj
conftest_1.cpp
"D:\Program Files\Microsoft Platform SDK\bin\Win64\link.exe" /nologo /OUT:.sconf_temp\conftest_1.exe .sconf_temp\conftest_1.obj
conftest_1.obj : error LNK2019: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB) referenced in function "protected: virtual class std::fpos<int> __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::seekoff(long,int,int)" (?seekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@JHH@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(unsigned int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z) referenced in function "public: class std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::open(char const *,int,int)" (?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDHH@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "__int64 std::_Fpz" (?_Fpz@std@@3_JA) referenced in function "public: __thiscall std::fpos<int>::fpos<int>(long)" (??0?$fpos@H@std@@QAE@J@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@QAEXXZ) referenced in function "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
conftest_1.obj : error LNK2019: unresolved external symbol "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const " (?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
.sconf_temp\conftest_1.exe : fatal error LNK1120: 8 unresolved externals
.sconf_temp\conftest_2.cpp <-
|
|#include <fstream>
|int main() {
| // using D:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\libcp.lib
| std::ofstream header("test", std::ofstream::out);
| return 0;
|}
|
cl /nologo /GX /TP /DNSISCALL=__stdcall /c .sconf_temp\conftest_2.cpp /Fo.sconf_temp\conftest_2.obj
conftest_2.cpp
"D:\Program Files\Microsoft Platform SDK\bin\Win64\link.exe" /nologo /OUT:.sconf_temp\conftest_2.exe .sconf_temp\conftest_2.obj
conftest_2.obj : error LNK2019: unresolved external symbol "long const std::_BADOFF" (?_BADOFF@std@@3JB) referenced in function "protected: virtual class std::fpos<int> __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::seekoff(long,int,int)" (?seekoff@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAE?AV?$fpos@H@2@JHH@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(unsigned int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z) referenced in function "public: class std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::open(char const *,int,int)" (?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDHH@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "__int64 std::_Fpz" (?_Fpz@std@@3_JA) referenced in function "public: __thiscall std::fpos<int>::fpos<int>(long)" (??0?$fpos@H@std@@QAE@J@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@QAEXXZ) referenced in function "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
conftest_2.obj : error LNK2019: unresolved external symbol "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const " (?_Getfacet@locale@std@@QBEPBVfacet@12@I@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
.sconf_temp\conftest_2.exe : fatal error LNK1120: 8 unresolved externals
--config=force flag isn't helped.