<html>
  <head>

  </head>
  <body style="font-weight: normal; font-style: normal; margin-top: 4px; margin-right: 4px; font-size: 16pt; font-family: Times New Roman; margin-left: 4px; font-variant: normal; margin-bottom: 1px; line-height: normal">
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="5" face="Times New Roman">When I get this problem&#44; I always make sure that I run VS as an administrator. &nbsp;Just right click the VS icon in the start menu&#44; you should see &#39;Run as an Administrator&#39; as an option.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="5" face="Times New Roman">Kent</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; John Drescher &lt;drescherjm@gmail.com&gt; 3/7/2012 08:02 AM &gt;&gt;&gt;<br>&gt; Hi.<br>&gt; I&#39;m a newbie in ITK. I have received this message error&#44; while I was<br>&gt; installing ITK on Windows Vista -32 bit&#44; using Visual C&#43;&#43; 2008:<br>&gt;<br>&gt;<br>&gt; Install configuration: &quot;Release&quot;<br>&gt; CMake Error at cmake_install.cmake:31 &#40;FILE&#41;:<br>&gt;&#160;&#32;file cannot create directory: C:/Program Files/ITK/lib/cmake/ITK-4.0.<br>&gt;&#160;&#32;Maybe need administrative privileges.<br>&gt; Project : error PRJ0019: A tool returned an error code of &quot;Post-compiling<br>&gt; event in progress..&quot;<br>&gt;<br>&gt; How can I solve it&#63;<br><br>Change the install folder specified in CMAKE_INSTALL_PREFIX to a<br>location you have permissions to install or do not use the INSTALL<br>target. I highly recommend the latter if you enabled shared libraries.<br>The reason is you can not mix release and debug builds so you can not<br>INSTALL the release version of itk or any other dlls then try to later<br>run the debug version of your program.<br><br>John<br>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses&#44; for more information visit:<br><a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
    </p>
  </body>
</html>