[ITK-users] Install problem on Windows 7
Gib Bogle
g.bogle at auckland.ac.nz
Fri Dec 15 16:14:14 EST 2017
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.
Following exactly the same procedure with cmake-gui as before, and setting CMAKE_INSTALL_PREFIX as
C:/Program Files/ITK4.12.2
everything goes fine (building with VS2010 Win64) until the actual install step of copying the files to the install directory. The error message is:
135> -- Install configuration: "Release"
135> CMake Error at cmake_install.cmake:31 (file):
135> file cannot create directory: C:/Program
135> Files/ITK4.12.2/lib/cmake/ITK-4.12. Maybe need administrative privileges.
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
Is this an issue with the cmake version? I am using cmake 3.0.2.
I considered copying all the files by hand, but I'm not sure if that's really feasible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://itk.org/pipermail/insight-users/attachments/20171215/74aebc91/attachment.html>
More information about the Insight-users
mailing list