View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014262CMakeCMakepublic2013-07-02 10:212013-12-02 08:51
ReporterPete Turner 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
Platform64bitOSWindowsOS Version7 64bit
Product VersionCMake 2.8.11.1 
Target VersionFixed in Version 
Summary0014262: "source code directory path length is too long" error. max is 50.
Descriptionwith a path to the source code set to ...
    
c:/productsTFS/Shared Components/.NET/ITK/InsightToolkit-4.3.1/InsightToolkit-4.3.1/

running CMake and selecting Configure, the error message in the summary is generated.
Steps To Reproduceplace ITK (or any other source) in a path that exceeds the 50 character length.
run CMake
select the path to the CMakeLists.txt file
select the path to the Build directory
select Configure

(error message is generated).
Additional Informationreplacing the end of the directory path ("InsightToolkit-4.3.1/InsightToolkit-4.3.1") with "ITK4.3.1" reduces the number of characters in the path to source and the Configure is then allowed to succeed.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033447)
Brad King (manager)
2013-07-02 10:28

The error message comes from CMakeLists.txt code in ITK, not from CMake.

Furthermore, the limit comes from path lengths used within ITK's source and build trees that exceed the Windows maximum path length limit (VS hits these internally during the build). You simply can't build ITK in a longer path.

Either way, this is not a CMake issue so I'm resolving it as "no change required".
(0034628)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-07-02 10:21 Pete Turner New Issue
2013-07-02 10:28 Brad King Note Added: 0033447
2013-07-02 10:28 Brad King Status new => resolved
2013-07-02 10:28 Brad King Resolution open => no change required
2013-12-02 08:51 Robert Maynard Note Added: 0034628
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team