I can't find any resource on path length limits for cmake with esp-idf and VSCode.
I should be able to use long paths with cmake on windows by setting registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled to 1, which I have and rebooted my machine.
However when I build I still get an error with explanation "The maximum full path to an object file is 250
characters (see CMAKE_OBJECT_PATH_MAX)."
I can find no CMAKE_OBJECT_PATH_MAX setting, if I add it to my CMakeLists.txt and set it to say 260 it is ignored and the same error persists.
How can ESP-IDF be made to work with long file paths on Windows?
Thanks
Adam
CMAKE_OBJECT_PATH_MAX and path length issues
Re: CMAKE_OBJECT_PATH_MAX and path length issues
unfortunately the same problem, no solution .
I hope this bumps this issue and someone can give us some insight.
I hope this bumps this issue and someone can give us some insight.
Re: CMAKE_OBJECT_PATH_MAX and path length issues
Which IDF version and which CMake version are you folks using?
IIRC this was solved in CMake 3.23 and later by https://gitlab.kitware.com/cmake/cmake/ ... e4007c477a.
IIRC this was solved in CMake 3.23 and later by https://gitlab.kitware.com/cmake/cmake/ ... e4007c477a.
Re: CMAKE_OBJECT_PATH_MAX and path length issues
In November I was a brand new install, the most up-to-date versions of everything were downloaded and used.
Re: CMAKE_OBJECT_PATH_MAX and path length issues
No, had nothing back from Espressif here so had to work around it and have done ever since
-
- Posts: 11
- Joined: Thu Jul 14, 2022 5:07 am
Re: CMAKE_OBJECT_PATH_MAX and path length issues
Any Update Regarding the issue. I am also facing the same thing.
Who is online
Users browsing this forum: Bing [Bot] and 164 guests