[CMake] failures on windows INSTALL target: "file INSTALL cannot copy file"

Lecourt Maxime maxime.lecourt at gmail.com
Wed Jul 20 05:33:31 EDT 2011


I have been using CMake and MinGW and I had problems when using the 
"Program Files (x86)" directory.
Changing to another directory without special characters ( ) solved the 
problem for me.

Regards,

Maxime

Le 20/07/2011 11:31, Florian Reinhard a écrit :
> Hi!
>
> I just compiled cmake on windows7 x64 with MinGW but the make install fails:
>
> -- Installing: C:/Program Files
> (x86)/CMake/share/cmake-2.8/Modules/SquishRunTestCase.bat
> CMake Error at cmake_install.cmake:35 (FILE):
>    file INSTALL cannot copy file
>    "C:/source/cmake-2.8.5/Modules/SquishRunTestCase.bat" to "C:/Program Files
>    (x86)/CMake/share/cmake-2.8/Modules/SquishRunTestCase.bat".
>
> Prior the the failure, a bunch of other files (.cmake) have been
> installed successfully.
>
> Since this issue has been on the mailinglist in Feb 2010, i cc'ed
> Timothy St. Clair, maybe he already found a solution for the issue.
>
> Regards,
> Florian
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list