<div dir="ltr">Hi Philippe,<div><br></div><div>Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) with</div><div>Visual Studio 2013 Express on Win7-64 running on VirtualBox. I didn't</div><div>run into any errors like the one you describe above.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I suspect that all the errors are related to this:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="color:rgb(80,0,80)"> CMake Warning (dev) at Utilities/KWSys/vtksys/</span><span style="color:rgb(80,0,80)">CMakeLists.txt:264</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)"> (CONFIGURE_FILE):</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)"> configure_file called with unknown argument(s): </span><span style="color:rgb(80,0,80)">COPY_ONLY</span><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">You're using a version of CMake 3.x that expects cmake files to use</div><div class="gmail_extra">COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12,</div><div class="gmail_extra">and I bet the problem will disappear.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Does anyone else know why CMake 3 would be giving this error? It</div><div class="gmail_extra">seems like a nasty bit of backwards-incompatibility. </div><div class="gmail_extra"><br></div><div class="gmail_extra"> - David</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 2, 2015 at 9:56 AM, Philippe Bouttefroy <span dir="ltr"><<a href="mailto:pbouttefroy@nvidia.com" target="_blank">pbouttefroy@nvidia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Trying to ping again. Is there anyone who has encountered this issue as well? Also, I did not specify that this is an issue I face only when building for VS2013. I have a VM with Ubuntu on the same machine and build with GCC, with no problem at all.<br>
<div class=""><div class="h5"><br>
-----Original Message-----<br>
From: vtkusers [mailto:<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] On Behalf Of Philippe Bouttefroy<br>
Sent: Monday, March 30, 2015 12:08 PM<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox<br>
<br>
Hi everyone,<br>
<br>
I have an issue building VTK-6.1 with Visual Studio 2013 on my VirtualBox<br>
(Win7 64 bits). I have had no issues with building VTK-6.1 with VS2013 on a<br>
non-virtualized machine.<br>
<br>
It looks to me that the CMake configuration provides an invalid state for<br>
the .sln. CMake configures and generates a solution without any problem (see<br>
below). However, VS2013 will complain about not finding iostream.h (for<br>
example), which does not exist since the VC folder contains the new ANSI<br>
format (iostream).<br>
<br>
Digging a little, I find that #vtksys_IOS_USE_ANSI is set to 0 in the<br>
Configure.hxx file. On a non-virtualized machine it is set to 1 (which is<br>
the value that I expected).<br>
<br>
Below are: (i) the cmake output; (ii) the first few compilation errors from<br>
VS 2013 (formatted).<br>
<br>
Any help or pointers to a solution would be greatly appreciated.<br>
<br>
Thanks,<br>
Philippe<br></div></div></blockquote></div></div></div>