<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Elvis,</p>
<p>Just to contribute one data point:<br>
</p>
<p>I build VTK 7.0.0 with VS 2015 Community Edition with no
problems. In my configurations I use both OpenGL and OpenGL2
back-ends, Qt 5.6, python 3 wrapping, VTK Imaging, VTK Views, and
SMP = OpenMP.</p>
<p>Sorry, but have instead no suggestions regarding the cause of the
issues you are encountering.<br>
</p>
<p>Best Regards,</p>
<p>Andrea<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/24/2016 5:28 PM, Elvis Chen wrote:<br>
</div>
<blockquote
cite="mid:CAEAx3cNa5Luw9bpHTV+R0=GxHQoDGz49oR468DMLWuET=Kf2hQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Greetings,</div>
<div><br>
</div>
<div>Trying to compile VTK 7 using Visual Studio 2015
(Enterprise) and got the following error. Can anyone confirm
if compatibility is a problem?</div>
<div><br>
1>------ Build started: Project: vtkhdf5, Configuration:
Debug Win32 ------<br>
2>------ Build started: Project: vtkIOImport,
Configuration: Debug Win32 ------<br>
3>------ Build started: Project: vtkIOLSDyna,
Configuration: Debug Win32 ------<br>
4>------ Skipped Build: Project: vtkCompileTools,
Configuration: Debug Win32 ------<br>
4>Project not selected to build for this solution
configuration <br>
1> vtkhdf5.vcxproj ->
G:\works\bin\vtk-7.0.0\bin\Debug\vtkhdf5-7.0.dll<br>
3> vtkLSDynaPart.cxx<br>
2> vtkVRMLImporter.cxx<br>
5>------ Build started: Project: vtkNetCDF, Configuration:
Debug Win32 ------<br>
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<br>
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<br>
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<br>
3> vtkLSDynaPartCollection.cxx<br>
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<br>
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<br>
3> vtkLSDynaReader.cxx<br>
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<br>
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<br>
3> vtkLSDynaSummaryParser.cxx<br>
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<br>
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<br>
3> LSDynaFamily.cxx<br>
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<br>
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<br>
3> LSDynaMetaData.cxx<br>
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<br>
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<br>
3> Generating Code...<br>
5> lookup3.c<br>
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<br>
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<br>
5> error4.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4attr.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4dim.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4file.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4grp.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4type.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4var.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> ncfunc.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4internal.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5> nc4hdf.c<br>
5>g:\works\src\vtk\vtk-7.0.0\thirdparty\hdf5\vtkhdf5\src\H5public.h(157):
error C2632: 'int' followed by 'int' is illegal<br>
5>G:\works\src\vtk\VTK-7.0.0\ThirdParty\netcdf\vtknetcdf\libsrc4\nc4hdf.c(3666):
error C2177: constant too big<br>
5> Generating Code...<br>
6>------ Build started: Project: vtkNetCDF_cxx,
Configuration: Debug Win32 ------<br>
6>LINK : fatal error LNK1104: cannot open file
'..\..\..\lib\Debug\vtkNetCDF-7.0.lib'<br>
7>------ Build started: Project: vtkIONetCDF,
Configuration: Debug Win32 ------<br>
8>------ Build started: Project: vtkexoIIc, Configuration:
Debug Win32 ------<br>
9>------ Build started: Project: vtkIOMINC, Configuration:
Debug Win32 ------<br>
8>LINK : fatal error LNK1104: cannot open file
'..\..\..\lib\Debug\vtkNetCDF_cxx-7.0.lib'<br>
10>------ Build started: Project: vtkIOExodus,
Configuration: Debug Win32 ------<br>
7>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkNetCDF_cxx-7.0.lib'<br>
11>------ Build started: Project: vtkIOParallel,
Configuration: Debug Win32 ------<br>
9>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkNetCDF_cxx-7.0.lib'<br>
10>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkexoIIc-7.0.lib'<br>
11>LINK : fatal error LNK1104: cannot open file
'..\..\lib\Debug\vtkIONetCDF-7.0.lib'<br>
12>------ Skipped Build: Project: INSTALL, Configuration:
Debug Win32 ------<br>
12>Project not selected to build for this solution
configuration <br>
========== Build: 1 succeeded, 9 failed, 104 up-to-date, 2
skipped ==========Description Project File Line Suppression
State</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
++++++++++++++++++++++++++++++++++++
Andrea Borsic Ph.D.
Founder NE Scientific LLC
Tel: +1 603 676 7450
Web: <a class="moz-txt-link-abbreviated" href="http://www.ne-scientific.com">www.ne-scientific.com</a>
Twitter: <a class="moz-txt-link-freetext" href="https://twitter.com/ne_scientific">https://twitter.com/ne_scientific</a></pre>
</body>
</html>