On 10.01.09 16:20:43, Armin Berres wrote: > On Thu, 08 Jan 09 14:56, Julien Michel wrote: > > Dear CMake users and developpers, > > > > My project is using cmake and I am trying to build it on Visual Studio > > 2005. The configuration process is successful, but when trying to > > compile, I have a long bunch of fatal C1083 error : > > > > fatal error C1083: impossible to open source file: > > '../../../../../../../../../../Path-to-the-source-file' no such file or > > directory. > > > > But when manually testing, the file is where visual is looking for it. > > > > After some more testing, it appears that windows does not recognize > > files if there are too many '../' in the path (even if the total path > > length does not exceed 150 characters). > > > > Is this a known limitation of visual, or due to a cmake recent update ? > > I did not meet this problem before, and my project did not change that > > much ... > > > > Any clue of what is going wrong ? > > See <http://msdn.microsoft.com/en-us/library/aa365247.aspx>. The max > length of a path in windows is 260 characters.
Thats wrong, the maximum length of a pathname component is 255 characters (that is the part between two \). The maximum length for a path is much more (yet still less than on unix, IIRC). Andreas -- Write yourself a threatening letter and pen a defiant reply. _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake