<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I've been using ITK4.8.0, which I built two years ago, so I decided to build 4.12.2, in case something has been fixed since then.</p>
<p><br>
</p>
<p>Following exactly the same procedure with cmake-gui as before, and setting CMAKE_INSTALL_PREFIX as</p>
<p>C:/Program Files/ITK4.12.2</p>
<p>everything goes fine (building with VS2010 Win64) until the actual install step of copying the files to the install directory.  The error message is:</p>
<p><br>
</p>
<p>135>  -- Install configuration: "Release"<br>
135>  CMake Error at cmake_install.cmake:31 (file):<br>
135>    file cannot create directory: C:/Program<br>
135>    Files/ITK4.12.2/lib/cmake/ITK-4.12.  Maybe need administrative privileges.</p>
<p><br>
</p>
<p>Clearly the CMAKE_INSTALL_PREFIX is not being treated correctly, and the space is terminating the directory name.  I tried putting quotes around it, but that produced a similar but even more strange result - cmake had inserted a ';', making the directory
 C:/Program;Files/ITK4.12.2<br>
</p>
<p>Is this an issue with the cmake version?  I am using cmake 3.0.2.</p>
<p><br>
</p>
<p>I considered copying all the files by hand, but I'm not sure if that's really feasible.<br>
</p>
</body>
</html>