[vtkusers] VTK7 and VS 2015 compatibility?

Elvis Chen elvis.chen at gmail.com
Wed Feb 24 11:28:55 EST 2016


Greetings,

Trying to compile VTK 7 using Visual Studio 2015 (Enterprise) and got the
following error. Can anyone confirm if compatibility is a problem?

1>------ Build started: Project: vtkhdf5, Configuration: Debug Win32 ------
2>------ Build started: Project: vtkIOImport, Configuration: Debug Win32
------
3>------ Build started: Project: vtkIOLSDyna, Configuration: Debug Win32
------
4>------ Skipped Build: Project: vtkCompileTools, Configuration: Debug
Win32 ------
4>Project not selected to build for this solution configuration
1>  vtkhdf5.vcxproj -> G:\works\bin\vtk-7.0.0\bin\Debug\vtkhdf5-7.0.dll
3>  vtkLSDynaPart.cxx
2>  vtkVRMLImporter.cxx
5>------ Build started: Project: vtkNetCDF, Configuration: Debug Win32
------
3>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
2>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
3>g:\works\src\vtk\vtk-7.0.0\io\lsdyna\private\LSDynaFamily.h(46): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
3>  vtkLSDynaPartCollection.cxx
3>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
3>g:\works\src\vtk\vtk-7.0.0\io\lsdyna\private\LSDynaFamily.h(46): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
3>  vtkLSDynaReader.cxx
3>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
3>g:\works\src\vtk\vtk-7.0.0\io\lsdyna\private\LSDynaFamily.h(46): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
3>  vtkLSDynaSummaryParser.cxx
3>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
3>g:\works\src\vtk\vtk-7.0.0\io\lsdyna\private\LSDynaFamily.h(46): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
3>  LSDynaFamily.cxx
3>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
3>g:\works\src\vtk\vtk-7.0.0\io\lsdyna\private\LSDynaFamily.h(46): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
3>  LSDynaMetaData.cxx
3>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used,
but unwind semantics are not enabled. Specify /EHsc
3>g:\works\src\vtk\vtk-7.0.0\io\lsdyna\private\LSDynaFamily.h(46): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
3>  Generating Code...
5>  lookup3.c
2>g:\works\src\vtk\vtk-7.0.0\io\import\vtkVRMLImporter_Yacc.h(1708): fatal
error C1083: Cannot open include file: 'unistd.h': No such file or directory
5>G:\works\src\vtk\VTK-7.0.0\ThirdParty\netcdf\vtknetcdf\libsrc\lookup3.c(58):
fatal error C1083: Cannot open include file: 'sys/param.h': No such file or
directory
5>  error4.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4attr.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4dim.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4file.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4grp.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4type.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4var.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  ncfunc.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4internal.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>  nc4hdf.c
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal
5>G:\works\src\vtk\VTK-7.0.0\ThirdParty\netcdf\vtknetcdf\libsrc4\nc4hdf.c(3666):
error C2177: constant too big
5>  Generating Code...
6>------ Build started: Project: vtkNetCDF_cxx, Configuration: Debug Win32
------
6>LINK : fatal error LNK1104: cannot open file
'..\..\..\lib\Debug\vtkNetCDF-7.0.lib'
7>------ Build started: Project: vtkIONetCDF, Configuration: Debug Win32
------
8>------ Build started: Project: vtkexoIIc, Configuration: Debug Win32
------
9>------ Build started: Project: vtkIOMINC, Configuration: Debug Win32
------
8>LINK : fatal error LNK1104: cannot open file
'..\..\..\lib\Debug\vtkNetCDF_cxx-7.0.lib'
10>------ Build started: Project: vtkIOExodus, Configuration: Debug Win32
------
7>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkNetCDF_cxx-7.0.lib'
11>------ Build started: Project: vtkIOParallel, Configuration: Debug Win32
------
9>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkNetCDF_cxx-7.0.lib'
10>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkexoIIc-7.0.lib'
11>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkIONetCDF-7.0.lib'
12>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
12>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 9 failed, 104 up-to-date, 2 skipped
==========Description Project File Line Suppression State
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160224/13d7c126/attachment.html>


More information about the vtkusers mailing list