[Insight-users] Error installing ITK on Vista VC++ 2008

John Drescher drescherjm at gmail.com
Wed Mar 7 08:02:33 EST 2012


> Hi.
> I'm a newbie in ITK. I have received this message error, while I was
> installing ITK on Windows Vista -32 bit, using Visual C++ 2008:
>
>
> Install configuration: "Release"
> CMake Error at cmake_install.cmake:31 (FILE):
>  file cannot create directory: C:/Program Files/ITK/lib/cmake/ITK-4.0.
>  Maybe need administrative privileges.
> Project : error PRJ0019: A tool returned an error code of "Post-compiling
> event in progress.."
>
> How can I solve it?

Change the install folder specified in CMAKE_INSTALL_PREFIX to a
location you have permissions to install or do not use the INSTALL
target. I highly recommend the latter if you enabled shared libraries.
The reason is you can not mix release and debug builds so you can not
INSTALL the release version of itk or any other dlls then try to later
run the debug version of your program.

John


More information about the Insight-users mailing list