[vtkusers] Compiling VTK with Mingw64 ?
David Partyka
david.partyka at kitware.com
Mon Sep 19 16:11:25 EDT 2011
Hi Christian,
Your bug report still exists but the vtk bug tracker was separated from
several other projects. You now have to use vtk.org in the url.
http://vtk.org/Bug/view.php?id=11742
On Fri, Sep 16, 2011 at 11:08 AM, Christian Lackas <lackas at invicro.com>wrote:
> * Ashika Umanga Umagiliya <aumanga at biggjapan.com> [110916 06:15]:
>
> Umanga,
>
> please see:
>
>
> http://vtk.1045678.n5.nabble.com/Building-VTK-on-64-bit-Windows-using-MinGW-w64-td3351101.html
>
> which contains a patch we used to successfully compile VTK with
> MinGW-w64.
>
> You might also want to check out this thread:
>
> http://www.vtk.org/pipermail/vtkusers/2011-April/116318.html
>
> which also discusses GCC versions.
>
> The Mantis report I filed a while back was apparently removed, cannot
> tell why or what happed to it:
>
> http://www.itk.org/Bug/view.php?id=11742
>
> Christian
>
> --
> Dr. Christian Lackas, Managing Partner
> inviCRO, LLC -- In Imaging Yours
> P: +1 617 933 8733, F: +49 2203 9034722
> http://www.invicro.com/ http://www.spect-ct.com/
>
> > Greetings all,
> >
> > I tried to compile VTK with Mingw64 compiler .(using personal Mingw
> > build "mingw-w64-bin_x86_64-mingw_20101002_4.5_sezero" )
> > During compilation it gave warnings saying "warning: cast from pointer
> > to integer of different size".
> > And the compilation failed at -
> >
> > ------------------------
> >
> > [ 23%] Building C object
> Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v1hpg.c.ob
> > [ 23%] Building C object
> > Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj
> > C:\svn-checkouts\vtk-5.8.0\Utilities\vtknetcdf\v2i.c:76:21: error:
> > redefinition
> > of typedef 'schar'
> > C:\svn-checkouts\vtk-5.8.0\Utilities\vtknetcdf\/ncx.h:160:21: note:
> > previous declaration of 'schar' was here
> > mingw32-make[2]: ***
> > [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj] Error 1
> > mingw32-make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all]
> Error 2
> > mingw32-make: *** [all] Error 2
> >
> > ----------------------------------------------
> > Has anyone compiling VTK suing Mingw64 ?
> >
> > Thanks in advance.
> > umanga
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110919/a83673a3/attachment.htm>
More information about the vtkusers
mailing list