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

reference resources:

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

 

View the path of the problem:

F:\program\esp\components\libsodium\libsodium\src\libsodium\crypto_ pwhash\scryptsalsa208sha256\sse

There are 98 characters in total, exceeding the maximum path of 90.

 

Change method 1:

Add parameters at compile time — no ccache

eg:

idf.py –no-ccache build

idf.py –no-ccache -p COM6 flash

 

Change method 2:

Modify the file installation path to reduce the path length.

 

Similar Posts: