[CMake] cmake_install.cmake

Nagy-Egri Máté Ferenc nagymatef at freemail.hu
Sun Jul 27 06:58:30 EDT 2014


Being the administrator doesn’t mean, that CMake has admin privilages. You must either run CMake as admin, or launch it from a shell that has admin rights.






Feladó: 瑟荻
Elküldve: ‎vasárnap‎, ‎2014‎. ‎július‎ ‎27‎. ‎3‎:‎58
Címzett: cmake at cmake.org





Hello,every one.

I am trying to use cmake to install the orfeo toolbox.It works well until the last step with the following error information:


------ 已启动生成: 项目: INSTALL, 配置: RelWithDebInfo Win32 ------

 CMake Error at cmake_install.cmake:31 (FILE):

    file cannot create directory: C:/Program Files/OTB/lib/otb.  Maybe need

    administrative privileges.‍

It seems that I don't have the priviledge though I am just the admin.The otb cannot be installed into C:/Program Files.I have tried to modify the CMAKE_INSTALL_PERFIX to D:/Program Files,it didn't work obviously.Because the CMAKE_INSTALL_PERFIX will became the original one when install.So I wish someone may give me some suggestions.

Any advice is welcome.Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140727/45e24d1a/attachment.html>
-------------- next part --------------
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


More information about the CMake mailing list