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">&lt;<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>&gt;</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>
(&quot;mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero&quot;) 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 &lt;<a href="mailto:lackas@invicro.com">lackas@invicro.com</a>&gt; wrote:<br>
&gt; * Ashika Umanga Umagiliya &lt;<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>&gt; [110916 06:15]:<br>
&gt;<br>
&gt; Umanga,<br>
&gt;<br>
&gt; please see:<br>
&gt;<br>
&gt;    <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>


&gt;<br>
&gt; which contains a patch we used to successfully compile VTK with<br>
&gt; MinGW-w64.<br>
&gt;<br>
&gt; You might also want to check out this thread:<br>
&gt;<br>
&gt;    <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>
&gt;<br>
&gt; which also discusses GCC versions.<br>
&gt;<br>
&gt; The Mantis report I filed a while back was apparently removed, cannot<br>
&gt; tell why or what happed to it:<br>
&gt;<br>
&gt;    <a href="http://www.itk.org/Bug/view.php?id=11742" target="_blank">http://www.itk.org/Bug/view.php?id=11742</a><br>
&gt;<br>
&gt; Christian<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Christian Lackas, Managing Partner<br>
&gt; inviCRO, LLC -- In Imaging Yours<br>
&gt; 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>
&gt; <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>
&gt;<br>
&gt;&gt; Greetings all,<br>
&gt;&gt;<br>
&gt;&gt; I tried to compile VTK with Mingw64 compiler .(using personal Mingw<br>
&gt;&gt; build &quot;mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero&quot; )<br>
&gt;&gt; During compilation it gave warnings saying &quot;warning: cast from pointer<br>
&gt;&gt; to integer of different size&quot;.<br>
&gt;&gt; And the compilation failed at -<br>
&gt;&gt;<br>
&gt;&gt; ------------------------<br>
&gt;&gt;<br>
&gt;&gt; [ 23%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v1hpg.c.ob<br>
&gt;&gt; [ 23%] Building C object<br>
&gt;&gt; Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj<br>
&gt;&gt; C:\svn-checkouts\vtk-5.8.0\Utilities\vtknetcdf\v2i.c:76:21: error:<br>
&gt;&gt; redefinition<br>
&gt;&gt; of typedef &#39;schar&#39;<br>
&gt;&gt; C:\svn-checkouts\vtk-5.8.0\Utilities\vtknetcdf\/ncx.h:160:21: note:<br>
&gt;&gt; previous declaration of &#39;schar&#39; was here<br>
&gt;&gt; mingw32-make[2]: ***<br>
&gt;&gt; [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj] Error 1<br>
&gt;&gt; mingw32-make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2<br>
&gt;&gt; mingw32-make: *** [all] Error 2<br>
&gt;&gt;<br>
&gt;&gt; ----------------------------------------------<br>
&gt;&gt; Has anyone compiling VTK suing Mingw64 ?<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance.<br>
&gt;&gt; umanga<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<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>