[vtk-developers] VTK Master broken due to netcdf update please fix

Ken Martin ken.martin at kitware.com
Thu Feb 8 11:24:31 EST 2018


Looks like VS 2013 builds fail with the recent update to netcdf ala

[482/8689] Building C object
ThirdParty\netcdf\vtknetcdf\CMakeFiles\vtknetcdf.dir\libsrc4\nc4printer.c.obj
FAILED: C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe  /nologo -DDLL_EXPORT
-DDLL_NETCDF -DH5_BUILT_AS_DYNAMIC_LIB -DHAVE_CONFIG_H -DVTK_IN_VTK
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_WARNINGS -Dvtknetcdf_EXPORTS
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\include
-IThirdParty\netcdf\vtknetcdf -IThirdParty\netcdf
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf
-IThirdParty\hdf5\vtkhdf5
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\hdf5\vtkhdf5\hl\src
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\hdf5\vtkhdf5\src
-IThirdParty\hdf5 -IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\hdf5
-IThirdParty\zlib -IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\zlib
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\libdispatch
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\libsrc
-IC:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\libsrc4
-IThirdParty\netcdf\vtknetcdf\include -IThirdParty\hdf5\vtkhdf5\src
-IThirdParty\hdf5\vtkhdf5\hl\src /DWIN32 /D_WINDOWS   /W0 /MDd /Zi /Ob0 /Od
/RTC1 /showIncludes
/FoThirdParty\netcdf\vtknetcdf\CMakeFiles\vtknetcdf.dir\libsrc\ncx.c.obj
/FdThirdParty\netcdf\vtknetcdf\CMakeFiles\vtknetcdf.dir\ /FS -c
C:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\libsrc\ncx.c
C:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\libsrc\ncx.c(222)
: error C2054: expected '(' to follow 'inline'
C:\Users\ken.martin\Documents\vtk2\VTK\ThirdParty\netcdf\vtknetcdf\libsrc\ncx.c(223)
: error C2085: 'swapn2b' : not in formal parameter list

I believe in VS2013 inline is C++ only and that file is a c file.


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180208/22029b5f/attachment.html>


More information about the vtk-developers mailing list