[IPOL discuss] compiling for windows
Juan Cardelino
juan.cardelino at gmail.com
Wed Oct 26 19:18:45 CEST 2011
In our experience cmake+libpng is the cleanest way for IPOL in
windows. Cross compiling could help, but the ultimate test is to use a
native windows environment.
I have extensive experience using wine and, while it works, it
presents different behaviour in a considerable number of cases.
I know Nicolas will say: we don't have resources. But if we seriously
plan to support the 3 major platforms, we can't be testing this by
hand, we already have a considerable amount of demos to take care of.
I don't know how hard it is, but it will be interesting to count with
an automatic build system, which compiles in many diffferent machines.
Something in the spirit of ITK's dashboard:
http://public.kitware.com/dashboard.php
In our lab, we plan to get another project after the initial IPOL-LA
initiative. I see this as an interesting part for a new IPOL related
project.
Best regards,
Juan
On Wed, Oct 26, 2011 at 2:27 PM, Daniel Kondermann
<daniel.kondermann at iwr.uni-heidelberg.de> wrote:
> 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
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at list.ipol.im
> http://tools.ipol.im/mailman/listinfo/discuss
>
More information about the discuss
mailing list