[IPOL discuss] compiling for windows

Daniel Kondermann daniel.kondermann at iwr.uni-heidelberg.de
Wed Oct 26 18:27:01 CEST 2011


Yes, all our projects in the lab are based on CMake because the user can
choose both platform and IDE based on his/her tastes and abilities.
26.10.2011 18:14, schrieb Pierre Moulon:
> 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
>>
> 
> 
> 
> _______________________________________________
> discuss mailing list
> discuss at list.ipol.im
> http://tools.ipol.im/mailman/listinfo/discuss


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
URL: <http://tools.ipol.im/mailman/archive/discuss/attachments/20111026/eb288382/attachment.pgp>


More information about the discuss mailing list