Archive: Library.nsh problem with LIBRARY_VERSION_HIGH not defined


Library.nsh problem with LIBRARY_VERSION_HIGH not defined
I keep getting this error when executing line:

!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED ${DISTRIB_DIR}\crw\crpe32.dll $SYSDIR\crpe32.dll $SYSDIR

<snip>
!insertmacro: InstallLib
warning: unknown variable/constant "{LIBRARY_VERSION_HIGH}" detected, ignoring (macro:InstallLib:97)
warning: unknown variable/constant "{LIBRARY_VERSION_LOW}" detected, ignoring (macro:InstallLib:98)
!undef: "LIBRARY_VERSION_HIGH" not defined!
Error in macro InstallLib on macroline 102
Error in script "D:\Develop\Kobra2006\src\Install\KobraSetup.nsi" on line 177
-- aborting creation process
</snip>

I'm kind of stuck here, please help.


Please attach a minimal complete example which reproduces this error.


folder bin was missing
I'm using multiple project folders (with all the necesarry NSIS files copied into project), and I've missed to copy the "bin" folder.
Library.nsh is using LibraryLocal.exe from the bin folder, and that was the source of the strange err I was getting.
Thanks, Kichik.

-- Igor