[Insight-users] cross-compiling itk on mac OSX for windows application

vincent ROULLIER vincent.roullier at gmail.com
Mon Jun 11 04:22:32 EDT 2007


Hi Luis,

ITK version  : CVS
Cmake : 2.4 patch 6
GCC : 3.4.5 (mingw)

The error message is the following :
/
/

    /-- Build files have been written to:
    /Users/piccolo/Documents/_Installation_LIB/Insight/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/bio.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/cio.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/dwt.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/event.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/image.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/j2k.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/j2k_lib.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/jp2.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/jpt.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/mct.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/mqc.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/openjpeg.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/pi.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/raw.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/t1.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/t2.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/tcd.o/
    /[  0%] Building C object
    Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/tgt.o/
    /Linking C static library ../../bin/libitkopenjpeg.a/
    //usr/bin/ranlib: warning for library: ../../bin/libitkopenjpeg.a
    the table of contents is empty (no object file members in the
    library define global symbols)/
    /[  0%] Built target itkopenjpeg/
    /[  0%] Building CXX object
    Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o/
    /cc1plus: error: unrecognized command line option "-Wno-long-double"/
    /make[2]: ***
    [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o] Error 1/
    /make[1]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/all] Error 2/
    /make: *** [all] Error 2/

The cmake configuring process is ok (just a warning message  : /Warning: 
turning off implicit template instantiation )/

Thanks

Vincent


Luis Ibanez a écrit :
>
> Hi Vincent,
>
> ITK should compile fine with MinGW.
>
> Could you please give us more details ?
>
>     1) ITK Version ?
>     2) CMake Version ?
>     3) GCC version ?
>
> *AND*
>
>   Please post the *exact* error messages
>   that you are getting.
>
>
>      Thanks
>
>
>         Luis
>
>
> ======================
> ROULLIER Vincent wrote:
>> Hi,
>>
>> I would like to compile ITK on OS X for windows. I'm using mingw to
>> compile my windows application. I don't have any problem with  hello
>> world application. But I do not manage to compile ITK with cmake and 
>> mingw.
>>
>> Have you got some ideas ??
>>
>> Vincent
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>




More information about the Insight-users mailing list