[cmake-developers] [CMake 0014262]: "source code directory path length is too long" error. max is 50.

Mantis Bug Tracker mantis at public.kitware.com
Tue Jul 2 10:21:22 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14262 
====================================================================== 
Reported By:                Pete Turner
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14262
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-02 10:21 EDT
Last Modified:              2013-07-02 10:21 EDT
====================================================================== 
Summary:                    "source code directory path length is too long"
error.  max is 50.
Description: 
with 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 Reproduce: 
place 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 Information: 
replacing 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-02 10:21 Pete Turner    New Issue                                    
======================================================================




More information about the cmake-developers mailing list