Cross-compiling tinc 1.1 for Windows

Guus Sliepen guus at tinc-vpn.org
Mon Aug 31 21:19:30 CEST 2015


On Mon, Aug 31, 2015 at 05:48:03PM +0200, Martin_Kaufman at web.de wrote:

> I've been using tinc for quite some time and I would like to test the latest 1.1 branch.
> Unfortunately, I was unable to cross-compile tinc on Ubuntu with mingw64 for Windows.
>  
> The instructions Guus provided for tinc 1.0 (http://www.tinc-vpn.org/examples/cross-compiling-64-bit-windows-binary/ ) are missing packages required for tinc 1.1, e.g.: zlib and ncurses.
> I tried downloading the ncurses sources and cross-compile them myself with no luck so far..
>  
> Did anyone succeed in cross-compiling tinc 1.1?
> Guus, could you share the setup you are using for creating the binaries with us?

Yes, getting ncurses to work on Windows can be tricky. I think I did
manage to link tinc against a precompiled version of PDcurses. But if it
doesn't work, just add --disable-curses to ./configure to disable
support for the curses library. You'll probably also want to
--disable-readline then.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20150831/5be8b012/attachment.sig>


More information about the tinc-devel mailing list