This build is located:<div><br></div><div><a href="http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/sezero_4.5_20101002/">http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/sezero_4.5_20101002/</a></div>
<div><br></div><div>If anyone else wants to try and use it.<br><br><div class="gmail_quote">On Sat, Sep 17, 2011 at 11:24 AM, Ashika Umanga Umagiliya <span dir="ltr"><<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Christian ,<br>
<br>
We need to stick to that specific Mingw64 build<br>
("mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero") because thats the<br>
only build which successfully compiles other libraries needed for our<br>
application - QT and OpenCV.<br>
I will try using your patch .<br>
<br>
thank you<br>
<div><div></div><div class="h5"><br>
<br>
On 17 September 2011 00:08, Christian Lackas <<a href="mailto:lackas@invicro.com">lackas@invicro.com</a>> wrote:<br>
> * Ashika Umanga Umagiliya <<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>> [110916 06:15]:<br>
><br>
> Umanga,<br>
><br>
> please see:<br>
><br>
> <a href="http://vtk.1045678.n5.nabble.com/Building-VTK-on-64-bit-Windows-using-MinGW-w64-td3351101.html" target="_blank">http://vtk.1045678.n5.nabble.com/Building-VTK-on-64-bit-Windows-using-MinGW-w64-td3351101.html</a><br>
><br>
> which contains a patch we used to successfully compile VTK with<br>
> MinGW-w64.<br>
><br>
> You might also want to check out this thread:<br>
><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/2011-April/116318.html" target="_blank">http://www.vtk.org/pipermail/vtkusers/2011-April/116318.html</a><br>
><br>
> which also discusses GCC versions.<br>
><br>
> The Mantis report I filed a while back was apparently removed, cannot<br>
> tell why or what happed to it:<br>
><br>
> <a href="http://www.itk.org/Bug/view.php?id=11742" target="_blank">http://www.itk.org/Bug/view.php?id=11742</a><br>
><br>
> Christian<br>
><br>
> --<br>
> Dr. Christian Lackas, Managing Partner<br>
> inviCRO, LLC -- In Imaging Yours<br>
> P: <a href="tel:%2B1%20617%20933%208733" value="+16179338733">+1 617 933 8733</a>, F: <a href="tel:%2B49%202203%209034722" value="+4922039034722">+49 2203 9034722</a><br>
> <a href="http://www.invicro.com/" target="_blank">http://www.invicro.com/</a> <a href="http://www.spect-ct.com/" target="_blank">http://www.spect-ct.com/</a><br>
><br>
>> Greetings all,<br>
>><br>
>> I tried to compile VTK with Mingw64 compiler .(using personal Mingw<br>
>> build "mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero" )<br>
>> During compilation it gave warnings saying "warning: cast from pointer<br>
>> to integer of different size".<br>
>> And the compilation failed at -<br>
>><br>
>> ------------------------<br>
>><br>
>> [ 23%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v1hpg.c.ob<br>
>> [ 23%] Building C object<br>
>> Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj<br>
>> C:\svn-checkouts\vtk-5.8.0\Utilities\vtknetcdf\v2i.c:76:21: error:<br>
>> redefinition<br>
>> of typedef 'schar'<br>
>> C:\svn-checkouts\vtk-5.8.0\Utilities\vtknetcdf\/ncx.h:160:21: note:<br>
>> previous declaration of 'schar' was here<br>
>> mingw32-make[2]: ***<br>
>> [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj] Error 1<br>
>> mingw32-make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2<br>
>> mingw32-make: *** [all] Error 2<br>
>><br>
>> ----------------------------------------------<br>
>> Has anyone compiling VTK suing Mingw64 ?<br>
>><br>
>> Thanks in advance.<br>
>> umanga<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>