[vtkusers] Compiling VTK with Mingw64 ?
Ashika Umanga Umagiliya
aumanga at biggjapan.com
Fri Sep 16 00:15:32 EDT 2011
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
More information about the vtkusers
mailing list