-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
We were running into the "long pathname issue" on Windows #1900 with version 1.11.0 and hoped to overcome it with the fixes from #2225. If I understand correctly, those fixes should be available in the master branch, of which I built today's version. However, I still get the Filename longer than 260 characters error.
Configuring seems to work:
PS C:\temp\test> cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -S C:\dev\cmake\fme\FMEwork\Internal\Projects\MLTestExceedinglyLongProjectPath\TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath\TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath\ -B bld --fresh
-- The CXX compiler identification is MSVC 19.34.31942.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_INSTALL_PREFIX initialized to default setting 'C:/Temp/test/bld/install'
[... internal stuff that did not contain relevant warnings or errors]
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Temp/test/bldBut then:
PS C:\temp\test> ninja -C bld
ninja: error: rebuilding 'build.ninja': Stat(C:/dev/cmake/fme/FMEwork/Internal/Projects/MLTestExceedinglyLongProjectPath/TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath/TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath_TestExceedinglyLongProjectPath/CMakeLists.txt): Filename longer than 260 characters
ninja: Entering directory `bld'PS C:\temp\test> ninja --version
1.12.0.gitI double-checked I have the LongPathsEnabled registry key set to 1.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels