Re: [ITK-users] Install problem on Windows 7
Gib Bogle <g.bogle-1/[email protected]> Fri, 15 Dec 2017 22:15:14 +0000
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <[email protected]> |
I spoke too soon. I saw the install proceeding successfully, and leapt to the conclusion that it was putting the files in the right place (I'd got the mistaken idea that C:/Program Files/ITK4.12.2 was the default install directory, by misinterpreting cmake_install.cmake). So the directories - bin, include, lib, share - were all created under D:/. No big deal to copy them to C:/Program Files/ITK4.12.2, but this is clearly an issue. Has anybody else encountered this? ________________________________ From: Insight-users <[email protected]> on behalf of Gib Bogle <g.bogle-1/[email protected]> Sent: Saturday, 16 December 2017 10:49 a.m. To: insight-users Subject: [FORGED] Re: [ITK-users] Install problem on Windows 7 If I leave the CMAKE_INSTALL_PREFIX blank, it installs correctly (in the same place I specified). It must be a cmake bug - no problem once you know how to avoid it. ________________________________ From: Insight-users <[email protected]> on behalf of Gib Bogle <g.bogle-1/[email protected]> Sent: Saturday, 16 December 2017 10:14 a.m. To: insight-users Subject: [FORGED] [ITK-users] Install problem on Windows 7 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. The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there! ________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: https://itk.org/mailman/listinfo/insight-users