<div dir="ltr">After trying to build latest version of ITK I ran into this build issue<br><div><br>CMake Error at CMakeLists.txt:28 (message):<br>  ITK build directory path length is too long (56 &gt; 50).Please set the ITK<br>
  build directory to a directory with a shorter path.<br><br>Where I have specified:<br><br>Source code:<br>C:\projects\dsa4d\ctutil_3rdParty\source\itk-4.4.2<br>Build the binaries<br>C:/projects/dsa4d/ctutil_3rdParty/source/itk-4.4.2/build<br>
<br></div><div>Which I do not think is unreasonable for a path when I want a projects dir, project name dir, and branch name dir.  But whoa was I ever wrong.<br><br></div><div>After reading the filed bug:<br></div><div><br clear="all">
<a href="http://www.cmake.org/Bug/view.php?id=14262">http://www.cmake.org/Bug/view.php?id=14262</a><br><br></div><div>which was posted in 2013... pretty recent considering that I have build ITK in paths much worse that above and it worked just fine. <br>
<br>I am left in dumbfounded amazement that this bug was closed with reason:<br><br>&gt;&gt; ======<br><a name="bugnotes" id="bugnotes">The error message comes from CMakeLists.txt code in ITK, not from CMake.  <br>
<br>
Furthermore, the limit comes from path lengths used within ITK&#39;s source 
and build trees that exceed the Windows maximum path length limit (VS 
hits these internally during the build).  You simply can&#39;t build ITK in a
 longer path.<br>
<br>
Either way, this is not a CMake issue so I&#39;m resolving it as &quot;no change required&quot;.</a><br>&gt;&gt; ======<br><br></div><div>Well we simply built it prior 2013 in longer paths so it simply can be built!  What changed?<br>
</div><div><br></div><div>Wow that&#39;s great!  Should I change my path to C:\  ???  .... I am going to get on that right now.<br><br></div></div>