<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20498">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div>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.<br></div><div data-signatureblock="true"><br></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; font-size: 12pt;'><b>Feladó:</b> <a href="mailto:289851803@qq.com" target="_parent">瑟荻</a><br><b>Elküldve:</b> ‎vasárnap‎, ‎2014‎. ‎július‎ ‎27‎. ‎3‎:‎58<br><b>Címzett:</b> <a href="mailto:cmake@cmake.org" target="_parent">cmake@cmake.org</a></font></div></div><div><br></div><div dir=""><div>Hello,every one.</div><div>I am trying to use cmake to install the orfeo toolbox.It works well until the last step with the following error information:</div><div><div>------ 已启动生成: 项目: INSTALL, 配置: RelWithDebInfo Win32 ------</div><div> <font color="#ff0000"> CMake Error at cmake_install.cmake:31 (FILE):</font></div><div><font color="#ff0000">    file cannot create directory: C:/Program Files/OTB/lib/otb.  Maybe need</font></div><div><font color="#ff0000">    administrative privileges.</font><span id="_editor_bookmark_start_0" style="line-height: 0px; display: none;">‍</span></div></div><div>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.</div><div>Any advice is welcome.Thank you in advance.</div></div></div>
</body>
</html>