[CMake] Cross Compilang and NSIS

Andreas Schneider mail at cynapses.org
Sun Mar 8 12:22:48 EDT 2009


Hi,

I've cross compiled libssh with mingw for windows today using the openSUSE 
Build Service.

http://download.opensuse.org/repositories/home:/gladiac:/win32/win32/i586/

I'm currently trying to create a NSIS installer on Linux for libssh but it 
gives me some bad errors.

The first error was that it can't determine the version number. I'm using nsis 
from http://nsis.sourceforge.net/ so I've created a wrapper.

----
#!/bin/bash

if test $1 = "-VERSION"; then
        echo -n "MakeNSIS v2.44 - Copyright 1999-2004 Nullsoft, Inc."
        exit 0
fi

exec /usr/bin/makensis.bin $@
----

Now I get the error.

File: Returning to: 
"/usr/src/packages/BUILD/libssh-0.2.99.svn251/build/_CPack_Packages/win32/NSIS/libssh-0.2.90-
win32"
File: 
"/usr/src/packages/BUILD/libssh-0.2.99.svn251/build/_CPack_Packages/win32/NSIS/libssh-0.2.90-
win32\*.*" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)

Any idea for a workaround?

Has someone already managed to create a NSIS installer on Linux?


	-- andreas

-- 
cybernetic synapses - http://www.cynapses.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090308/772cab9f/attachment.pgp>


More information about the CMake mailing list