[IPOL discuss] compiling for windows

Pierre Moulon pmoulon at gmail.com
Wed Oct 26 18:14:46 CEST 2011


Just as information it seems that CMake also allows to perform
cross-compiling

http://www.vtk.org/Wiki/CMake_Cross_Compiling

2011/10/26 Nicolas Limare <nicolas.limare at cmla.ens-cachan.fr>

> Hi,
>
> I recently spent some time exploring cross-compilation: compile for
> Windows from Linux. The goals were:
> - check the compatibility of the code with a Windows environment, by
>  testing the compilation and execution
> - see if it can help for the distribution of programs to Windows users
> - learn cross-compilation
>
> It works. Using mingw and wine (both available in Debian/Ubuntu), you
> can compile for Windows and link to DLLs (Win32 version of the shared
> libraries) and execute the program in a Windows environment. I could
> do it with the retinex_pde and simplest_color_balance codes, with
> libpng and libfftw3.
>
> So if you are trying to do similar things, ask me before for hints to
> save time. And if you already did similar things, you probably know
> more than me :)
>
> --
> Nicolas LIMARE - CMLA - ENS Cachan
> http://www.cmla.ens-cachan.fr/~limare/
> IPOL - image processing on line
> http://www.ipol.im/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk6oMIMACgkQvviFAPpCP09bVACeLiwJ1XjKcboSW6T3YKfVzsnK
> p4YAnjrOTFnj24H8adH+EJtx6HEgUOCh
> =9tMo
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> discuss mailing list
> discuss at list.ipol.im
> http://tools.ipol.im/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tools.ipol.im/mailman/archive/discuss/attachments/20111026/b69a3047/attachment.html>


More information about the discuss mailing list