idf-installer
idf-installer copied to clipboard
Build of source code fails if path to CCache contains space
How to simulate:
- set variable to the path with space
$env:CCACHE_DIR="C:\Users\User\Desktop\ccache with-space"
idf.py build
Failure by the end of the build:
xtensa-esp32-elf-gcc.exe: error: C:\Users\User\Desktop\ccache: No such file or directory
xtensa-esp32-elf-gcc.exe: error: with-space/tmp/cmd_args.GyJI3l: No such file or directory
Workaround: Set CCACHE_DIR env variable to path without spaces.
Suggested correction for the installer: configure CCACHE_DIR during installation process to point to C:\Espressif
directory.
Updates: New version of CCache is being tested, it should have support for spaces in the path