[vtkusers] VTK and MinGW on Windows 7

Wagner Sales wsales at gmail.com
Thu Sep 23 12:44:15 EDT 2010


Hi all,

I'm trying to compile VTK with MinGW on Windows 7 and the compilation
fails. My version of mingw are 4.4, installed with Qt 4.7.0 (
NokiaSDK ).
Someone built VTK with MinGW here? Or VTK doesn't support MinGW? Any
help would be appreciated. The compiler ouput are:

In file included from C:\Users\Navegador2\Documents\Sources\vtk-5.6.0\Utilities\
vtknetcdf\/nc.h:22,
                 from C:\Users\Navegador2\Documents\Sources\vtk-5.6.0\Utilities\
vtknetcdf\attr.c:8:
c:\qt\2010.05\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h
:104: error: two or more data types in declaration specifiers
mingw32-make[2]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/attr.c.obj] E
rror 1
mingw32-make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2
mingw32-make: *** [all] Error 2


Best Regards,

Wagner Sales



More information about the vtkusers mailing list