compile - files with CreateProcess error (windows) - path max length limitation
See original GitHub issueIt seems like I am hitting windows path limit. This was a problem with yotta, which I recall added unicode paths support, to overcome this?
cd C:\Code\git_repo\github\mbed-rtos-thread-helloworld
python C:\Code\git_repo\github\neo\neo.py compile -m K64F -t GCC_ARM
[neo.py] Exec python mbed-os/tools/make.py --source=C:\Code\git_repo\github\mbed-rtos-thread-helloworld --build=C:\Code\git_repo\github\mbed-rtos-thread-helloworld\.build -m K64F -t GCC_ARM
Building project MBED-RTOS-THREAD-HELLOWORLD (K64F, GCC_ARM)
[ERROR] [Error 87] The parameter is incorrect
vs
cd C:\2
python C:\Code\git_repo\github\neo\neo.py compile -m K64F -t GCC_ARM
[neo.py] Exec python mbed-os/tools/make.py --source=C:\2 --build=C:\2\.build -m K64F -t GCC_ARM
Building project 2 (K64F, GCC_ARM)
Compile: Mutex.cpp
Compile: RtosTimer.cpp
Compile: Semaphore.cpp
Compile: Thread.cpp
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Maximum Path Length Limitation - Win32 apps | Microsoft Learn
The maximum path of 32,767 characters is approximate, because the "\\?\" prefix may be expanded to a longer string by the system at...
Read more >Why does the 260 character path length limit exist in Windows?
In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined...
Read more >MSVC / wrapper script bug: cannot compile files with long path ...
MSVC / wrapper script bug: cannot compile files with long path #2406 ... of inputs and outputs may push the combined length over...
Read more >Long paths causing errors in latest MSBuild (with long path ...
Maximum Path Length Limitation In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is...
Read more >Solving the 8192 Character Command Line Limit on Windows
There is a really annoying issue with using command line tools on Windows: the maximum length of the command line passed to cmd.exe...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Workaround until this is fixed: try running in a Linux VM.
Please provide commit/PR reference, or might be better to reference this via commit message, we can track/review changes done for this issue.