<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Gib,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif">as installing into </span><font face="monospace, monospace">C:/Program Files/ITK</font><font face="verdana, sans-serif"> prefix works for me, it must be the CMake version. Fortunately, updating CMake is easy.</font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif">Regards,</font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif">Dženan</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 15, 2017 at 5:15 PM, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>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?<br>
</p>
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<hr style="display:inline-block;width:98%">
<div id="m_-520215195336711280divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><span class=""><b>From:</b> Insight-users <<a href="mailto:insight-users-bounces@itk.org" target="_blank">insight-users-bounces@itk.org</a><wbr>> on behalf of Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>><br>
</span><b>Sent:</b> Saturday, 16 December 2017 10:49 a.m.<br>
<b>To:</b> insight-users<br>
<b>Subject:</b> [FORGED] Re: [ITK-users] Install problem on Windows 7</font>
<div> </div>
</div><div><div class="h5">
<div>
<p>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.<br>
</p>
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<hr style="display:inline-block;width:98%">
<div id="m_-520215195336711280divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Insight-users <<a href="mailto:insight-users-bounces@itk.org" target="_blank">insight-users-bounces@itk.org</a><wbr>> on behalf of Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>><br>
<b>Sent:</b> Saturday, 16 December 2017 10:14 a.m.<br>
<b>To:</b> insight-users<br>
<b>Subject:</b> [FORGED] [ITK-users] Install problem on Windows 7</font>
<div> </div>
</div>
<div>
<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-<wbr>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>
</div>
</div>
</div>
</div></div></div>
</div>
<br>The ITK community is transitioning from this mailing list to <a href="http://discourse.itk.org" rel="noreferrer" target="_blank">discourse.itk.org</a>. Please join us there!<br>
______________________________<wbr>__<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://itk.org/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">https://itk.org/mailman/<wbr>listinfo/insight-users</a><br>
<br></blockquote></div><br></div>