<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I confirm that the file path length > 260 (for one of the
intermediate files) caused the RemoveDirectory step to fail. <br>
</p>
<p>Modifying the master.cfg to move CMake's build directory to a
higher level solved the problem.</p>
<p>Thank you all for the comments and suggestions.</p>
<br>
<div class="moz-cite-prefix">On 6/27/2016 2:02 PM, Greg Bullock
wrote:<br>
</div>
<blockquote cite="mid:a72bc7c7-1719-6d94-9737-df0a735e8146@nwra.com"
type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<p>Thank you for that comment, Vasily.</p>
<p>It turns out that indeed there is a (deeply nested) file with a
full path of 265 characters.</p>
<p>I'll modify the build to reduce the nesting depth and report
back whether this resolves the problem.</p>
<p>Regards.<br>
Greg<br>
</p>
<br>
<div class="moz-cite-prefix">On 6/26/2016 3:48 AM, Vasily wrote:<br>
</div>
<blockquote
cite="mid:CABiDpknCAvB_o4SRSWUgWKyZPHCn2yVyZ5=9-U1PMDkP7GMVyw@mail.gmail.com"
type="cite">Hi all,
<div><span style="font-size:15px"><br>
</span></div>
<div><span style="font-size:15px">One of potential problems with
RemoveDirectory on Windows is that it uses ANSI version of
Win32 API which cannot deal with too long names (more than
MAXPATH, which, I believe, is about 260 characters), so you
might want to check if the directory you're trying to remove
has short enough name.</span></div>
<div><span style="font-size:15px"><br>
</span></div>
<div><span style="font-size:15px">Thanks,</span></div>
<div><span style="font-size:15px">Vasily<br>
</span><br>
</div>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Greg Bullock
NorthWest Research Associates
301 Webster St.
Monterey, CA 93940
(831) 582-4907
<a class="moz-txt-link-abbreviated" href="mailto:greg@nwra.com">greg@nwra.com</a></pre>
</body>
</html>