NSIS 2.27 - NSIS Menu fails to link
I have followed all setup instructions in the NSIS Docs Appendix. I have wxWidgets 2.8.3; WXWIN is correctly set; Python 2.5.1; Scons 0.96.93; using a Visual Studio .NET 2003 terminal.
The compilation is fine, but I cannot get it to link:
cl /nologo /GS- /O1 /W3 /MD /EHsc /TP /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_N
O_WARNINGS /IC:\wxWidgets-2.8.3\include /IC:\wxWidgets-2.8.3\lib\vc_libnsis\msw
/c "Contrib\NSIS Menu\nsismenu\nsismenu.cpp" "/Fobuild\release\NSIS Menu\nsismen
u\nsismenu.obj"
nsismenu.cpp
cl /nologo /GS- /O1 /W3 /MD /EHsc /TP /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_N
O_WARNINGS /IC:\wxWidgets-2.8.3\include /IC:\wxWidgets-2.8.3\lib\vc_libnsis\msw
/c "Contrib\NSIS Menu\nsismenu\nslinks.cpp" "/Fobuild\release\NSIS Menu\nsismenu
\nslinks.obj"
nslinks.cpp
rc /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_WARNINGS /IC:\wxWidgets-2.8.3\inc
lude /IC:\wxWidgets-2.8.3\lib\vc_libnsis\msw "/fobuild\release\NSIS Menu\nsismen
u-rc.res" "Contrib\NSIS Menu\nsismenu\nsismenu.rc"
link /nologo /opt:nowin98 /map "/OUT:build\release\NSIS Menu\NSIS.exe" /LIBPATH:
C:\wxWidgets-2.8.3\lib\vc_libnsis advapi32.lib comctl32.lib gdi32.lib shell32.li
b user32.lib wxbase28.lib wxmsw28_core.lib wxmsw28_html.lib "build\release\NSIS
Menu\nsismenu\nsismenu.obj" "build\release\NSIS Menu\nsismenu\nslinks.obj" "buil
d\release\NSIS Menu\nsismenu-rc.res"
wxbase28.lib(baselib_filename.obj) : error LNK2019: unresolved external symbol _
_imp__CoCreateInstance@20 referenced in function "public: bool __thiscall wxFile
Name::GetShortcutTarget(class wxString const &,class wxString &,class wxString *
)" (?GetShortcutTarget@wxFileName@@QAE_NABVwxString@@AAV2@PAV2@@Z)
wxmsw28_core.lib(corelib_app.obj) : error LNK2019: unresolved external symbol __
imp__OleUninitialize@0 referenced in function "void __cdecl wxOleUninitialize(vo
id)" (?wxOleUninitialize@@YAXXZ)
wxmsw28_core.lib(corelib_clipbrd.obj) : error LNK2001: unresolved external symbo
l __imp__OleUninitialize@0
wxmsw28_core.lib(corelib_app.obj) : error LNK2019: unresolved external symbol __
imp__OleInitialize@4 referenced in function "bool __cdecl wxOleInitialize(void)"
(?wxOleInitialize@@YA_NXZ)
There are a total of 72 linker errors link this.