[vtkusers] VTK netcdf and MinGW compile problems
Matt Squires
matthew.squires at colorado.edu
Thu Apr 6 15:17:33 EDT 2006
I am trying to compile VTK 5.0.0 using MinGW and MSys and I can compile up
to where it wants to compile for netcdf inclusion. I found a post on the
netcdf site for cygwin that says the newest beta will get rid of the
problems. I had loaded the ncx.c and ncx.h from the newest netcdf beta
but I get the same problem. I have tried VTK 4.4.2 and I get the same
compile errors.
Can this be fixed or at least turn off netcdf for this compile. I am 1
day new to cmake so I am not sure if this is possible.
Thanks in advance,
Matt
Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/ncx.obj
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1119:2:
#error "ix_float implementation"
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1542:2:
#error "ix_double implementation"
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1707:2:
#error "x_size_t implementation"
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c: In function
`vtk_netcdf_ncx_put_off_t':
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1775:
warning: right shift count >= width of type
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c: In function
`vtk_netcdf_ncx_get_off_t':
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1832:
warning: left shift count >= width of type
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1833:
warning: left shift count >= width of type
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1834:
warning: left shift count >= width of type
C:/Documents and
Settings/LabUser/Desktop/vtk-5.0.0/Utilities/vtknetcdf/ncx.c:1835:
warning: left shift count >= width of type
make[2]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/ncx.obj] Error 1
make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2
make: *** [all] Error 2
More information about the vtkusers
mailing list