[CMake] Cannot buils NSIS installer on Windows/Wascana
David Cole
david.cole at kitware.com
Thu Sep 6 10:52:56 EDT 2007
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?
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.
Thanks,
David Cole
On 9/6/07, Eric Noulard <eric.noulard at gmail.com> wrote:
>
> I'm trying to build CMake CVS
> using
>
> CMake 2.4.7 for windows
> and
> Wascana 0.9.3 (http://wascana.sourceforge.net/ - Eclipse CDT4 for
> Windows)
>
> Since CMake 2.4.7 does not contains the CDT4 eclipse generator
> I configured the Eclipse Project for compiling Eclipse "manually"
> as described in the Wiki http://www.cmake.org/Wiki/CMake:Eclipse.
>
> everything goes OK.
> But when I am trying to build the NSIS package I get
>
> "CPack Error: Problem running NSIS command: "C:/Program
> Files/NSIS/makensis.exe"
> "C:/Workspace/Build_CMake/_CPack_Packages/win32-x86/NSIS/project.nsi"
> Please check
> C:/Workspace/Build_CMake/_CPack_Packages/win32-x86/NSIS/NSISOutput.log
> for errors"
>
> You'll find attached the generated project.nsi and corresponding log file.
>
> It seems that a file "CMakeInstall.bmp" is missing from my source tree
> which has been updated just before the build.
> "
> File: "C:/Workspace/CMake/Utilities/Release\CMakeInstall.bmp" -> no files
> found.
> Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
> /oname=outfile one_file_only)
> "
>
>
> --
> Erk
> --
> Erk
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070906/b3c3ceba/attachment.htm
More information about the CMake
mailing list