Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vtk-visit error
In file included from /home/lahwaacz/build/builddir/vtk-visit/src/build/ThirdParty/netcdf/vtknetcdf/config.h:7:0,
from /home/lahwaacz/build/builddir/vtk-visit/src/VTK-6.1.0/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4internal.c:18:
/home/lahwaacz/build/builddir/vtk-visit/src/VTK-6.1.0/ThirdParty/netcdf/vtknetcdf/include/vtk_netcdf_mangle.h:229:30: error: conflicting types for ‘vtk_netcdf_nc4_rec_find_nc_type’
#define nc4_rec_find_nc_type vtk_netcdf_nc4_rec_find_nc_type
^
/home/lahwaacz/build/builddir/vtk-visit/src/VTK-6.1.0/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4internal.c:383:1: note: in expansion of macro ‘nc4_rec_find_nc_type’
nc4_rec_find_nc_type(NC_GRP_INFO_T *start_grp, nc_type target_nc_typeid)
^~~~~~~~~~~~~~~~~~~~
/home/lahwaacz/build/builddir/vtk-visit/src/VTK-6.1.0/ThirdParty/netcdf/vtknetcdf/include/vtk_netcdf_mangle.h:229:30: note: previous declaration of ‘vtk_netcdf_nc4_rec_find_nc_type’ was here
#define nc4_rec_find_nc_type vtk_netcdf_nc4_rec_find_nc_type
^
/home/lahwaacz/build/builddir/vtk-visit/src/VTK-6.1.0/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4internal.h:370:17: note: in expansion of macro ‘nc4_rec_find_nc_type’
NC_TYPE_INFO_T *nc4_rec_find_nc_type(NC_GRP_INFO_T *start_grp, hid_t target_nc_typeid);
^~~~~~~~~~~~~~~~~~~~
make[2]: *** [ThirdParty/netcdf/vtknetcdf/CMakeFiles/vtkNetCDF.dir/build.make:591: ThirdParty/netcdf/vtknetcdf/CMakeFiles/vtkNetCDF.dir/libsrc4/nc4internal.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:17282: ThirdParty/netcdf/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.