[CMake] NSIS builder creating invalid exe
Gonzalo Garramuno
ggarra13 at gmail.com
Sat Jan 10 10:43:58 EST 2015
On 09/01/15 19:22, Bill Hoffman wrote:
> On 1/9/2015 12:43 PM, Gonzalo Garramuño wrote:
>> I updated my CMakeLists.txt to create an NSIS installer under a Nmake
>> Makefile.
>> The packaging works without errors when run with 'nmake package'.
>>
>> However, the resulting exe file when run, returns:
>> Bad file number.
>>
>> The problem happens on both builds for win32 and win64.
>> The NSIS installer is 3.0a1 and cmake v3.0.1.
> Try running it from explorer and not the command line. It might be
> asking to raise permissions since it is an installer.
>
> -Bill
>
Yes, that was it. Thanks for pointing out a problem with mingw bash.
More information about the CMake
mailing list