ccache: error: Failed to ctreate temporary file for esp-idf/..../pwhash_scryptsalsa208sha256_nosse.c.obj: No Such file or directory

参考:

https://blog.csdn.net/zhangjingxun12/article/details/117095349

 

查看出问题的路径:

F:\program\esp\components\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse

总共有98个字符,超过了路径最大为90的规定。

 

更改方法1:

编译时加参数 --no-ccache

eg:

idf.py --no-ccache build

idf.py --no-ccache -p COM6 flash

 

更改方法2:

修改文件安装路径,减少路径长度。

 

posted @ 2021-11-01 16:23  hbg-rohens  阅读(495)  评论(0编辑  收藏  举报