<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, I always make sure that I run VS as an administrator. Just right click the VS icon in the start menu, you should see 'Run as an Administrator' 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>
>>> John Drescher <drescherjm@gmail.com> 3/7/2012 08:02 AM >>><br>> Hi.<br>> I'm a newbie in ITK. I have received this message error, while I was<br>> installing ITK on Windows Vista -32 bit, using Visual C++ 2008:<br>><br>><br>> Install configuration: "Release"<br>> CMake Error at cmake_install.cmake:31 (FILE):<br>>  file cannot create directory: C:/Program Files/ITK/lib/cmake/ITK-4.0.<br>>  Maybe need administrative privileges.<br>> Project : error PRJ0019: A tool returned an error code of "Post-compiling<br>> event in progress.."<br>><br>> How can I solve it?<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, 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>