[CMake] Cannot buils NSIS installer on Windows/Wascana

Eric Noulard eric.noulard at gmail.com
Thu Sep 6 16:10:02 EDT 2007


2007/9/6, David Cole <david.cole at kitware.com>:
> Line 402 of "CMake 2.4/share/cmake-2.4/Modules/NSIS.template.in" reads:
>   !define CPACK_PACKAGE_ICON at CPACK_PACKAGE_ICON@
>
> I think there should be a space and double quotes, like this:
>   !define CPACK_PACKAGE_ICON "@CPACK_PACKAGE_ICON@"
>
> In fact, I'm not entirely sure why this appears to work when we build the
> CMake installer... Maybe we are getting lucky with a NSIS bug that was
> masking this mistake. I notice you are using NSIS v2.29 -- maybe they fixed
> a bug... and now this pops up (correctly) as an error?

Don't know about this.

>
> Anyhow, if you change that line of NSIS.template.in and then rebuild, does
> the problem go away? If so, I will commit this fix to CVS CMake.

I will try that tomorrow, since the windows box
stay at work :=)

However,
regarding the error the trouble seems to come from the fact
that the file

"CMakeInstall.bmp"

is missing from CMake/Utilities/Release/
CVS source tree?

Don't you have the file in your tree which may not
be checked-in CVS?


-- 
Erk


More information about the CMake mailing list