Is "C:/path/to/make" a batch file?<br>What are its contents?<br><br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 1:23 PM, thehighhat <span dir="ltr"><<a href="mailto:thehighhat%2Bwww@gmail.com">thehighhat+www@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">using nsis 2.46. cmake 2.8.3 to config and build a 32 bit console app<br>
on a 64bit windows 7 host using 32bit intel compilers and msvs 2010<br>
express: all ok.<br>
<br>
make package_source: all ok.<br>
<br>
but make package: broken.<br>
<br>
<br>
<br>
<br>
cpack --verbose<br>
<br>
CPack: Enable Verbose<br>
CPack Verbose: Read CPack config file:<br>
CPack Verbose: Read CPack configuration file: C:/path/to/CPackConfig.cmake<br>
CPack Verbose: Specified generator: NSIS<br>
CPack Verbose: Test NSIS version: "C:/Program Files<br>
(x86)/NSIS/makensis.exe" /VERSION<br>
CPack Verbose: Use generator: cmCPackNSISGenerator<br>
CPack Verbose: For project: X<br>
CPack: Create package using NSIS<br>
CPack Verbose: Read description file:<br>
C:/path/to/cmake/cmake-2.8.3-win32-x86/share/cmake-2.8/Templates/CPack.GenericDescription.txt<br>
CPack Verbose: Remove toplevel directory:<br>
C:/path/to/builddir/_CPack_Packages/win32/NSIS<br>
CPack: Install projects<br>
CPack: - Run preinstall target for: Project<br>
CPack Error: Problem running install command: C:/path/to/make "preinstall"<br>
Please check C:/path/to/builddir/_CPack_Packages/win32/NSIS/PreinstallOutput.log<br>
for errors<br>
CPack Error: Error when generating package: X<br>
<br>
<br>
<br>
this is what is in the log file above:<br>
<br>
# Run command: C:/path/to/make "preinstall"<br>
# Directory: C:/path/to/builddir<br>
# Output:<br>
%1 is not a valid Win32 application<br>
<br>
<br>
i cannot find what is causing this error. any ideas?<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></div></div></blockquote></div><br>