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.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake