[CMake] cpack issue: %1 is not a valid Win32 application

Eric Noulard eric.noulard at gmail.com
Thu Feb 24 18:12:01 EST 2011


2011/2/24 thehighhat <thehighhat+www at gmail.com>:
> On Thu, Feb 24, 2011 at 12:20 PM, David Cole <david.cole at kitware.com> wrote:
>> Do you have the same problem if you use a real binary for the 'make' instead
>> of this symlink?
>
> Yes, the same problem persists.
>
> I started with a clean builddir.  Changed all references to use the
> actual file, not symlinks.
>
> Called make using the actual file, not symlinks.
>
> The build succedded. and teh binary works.
>
>    But I still have the same problem:    %1 is not a valid Win32 application
>
> I cannot get cpack to build the NSIS installer correctly.

Does this mean that other CPack generators works?

Could you try ZIP ?

cpack --verbose -G ZIP

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list