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

David Cole david.cole at kitware.com
Thu Feb 24 14:05:01 EST 2011


Are you using the cygwin cmake or the Windows cmake in "C:\Program Files..."

If you're using the Windows cmake, it's not going to be able to deal with
cygwin symlinks at all.


On Thu, Feb 24, 2011 at 1:49 PM, thehighhat <thehighhat+www at gmail.com>wrote:

> On Thu, Feb 24, 2011 at 11:34 AM, David Cole <david.cole at kitware.com>
> wrote:
> > Is "C:/path/to/make" a batch file?
> > What are its contents?
> >
>
> no, not a batch file.    it is a symlink, to a symlink, to a binary.
>
> contents are the compile bin for make
>
>
> from cygwin commands:
>
>
> ls -l /path/to/make
>
> lrwxrwxrwx ... /path/to/make -> /bin/make*
>
>
> ls -l /bin/make
>
> lrwxrwxrwx ...  /bin/make -> ./make-v381-cygwin*
>
>
> ls -l /bin/make-v381-cygwin
>
> -rwxr-xr-x ... /bin/make-v381-cygwin*
>
>
> file /bin/make-v381-cygwin
>
> /bin/make-v381-cygwin: PE32 executable for MS Windows (console) Intel
> 80386 32-bit
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110224/49127750/attachment-0001.htm>


More information about the CMake mailing list