Open Napat opened 5 years ago
I tried to make flash detection_with_command_line but got stuck on sodium/aead_chacha20poly1305.d not found.
Note:
D:\...\esp32_win32_msys2_environment_and_toolchain-20181001\msys32
Toolchain: esp32_win32_msys2_environment_and_toolchain-20181001
esp32_win32_msys2_environment_and_toolchain-20181001
esp-idf: v3.1 & v3.2
git clone -b v3.1 --recursive https://github.com/espressif/esp-idf.git
esp-who: v0.9.1 & master branch
git clone -b v0.9.1 --recursive https://github.com/espressif/esp-who.git
env
export IDF_PATH="${HOME}/esp/esp-idf" echo $IDF_PATH
OS: Windows 10 pro
Windows 10 pro
$ cd ~/esp/esp-who/examples/single_chip/detection_with_command_line $ make flash ... CC build/jsmn/src//jsmn.o AR build/jsmn/libjsmn.a CC build/json/cJSON/cJSON.o CC build/json/cJSON/cJSON_Utils.o AR build/json/libjson.a CC build/lcd/spi_lcd.o CC build/lcd/font7s.o CXX build/lcd/iot_lcd.o CXX build/lcd/adaptation.o CXX build/lcd/Adafruit-GFX-Library/Adafruit_SPITFT.o CXX build/lcd/Adafruit-GFX-Library/Adafruit_GFX.o AR build/lcd/liblcd.a AR build/lib/liblib.a CC build/libsodium/port/randombytes_esp32.o CC build/libsodium/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.o D:/workdir/esp32/m5cameraX/esp32_win32_msys2_environment_and_toolchain-20181001/msys32/home/napat/esp/esp-idf/components/libsodium/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c:386:1: fatal error: opening dependency file libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.d: No such file or directory } ^ compilation terminated. make[1]: *** [/home/napat/esp/esp-idf/make/component_wrapper.mk:286: libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.o] Error 1 make: *** [D:\workdir\esp32\m5cameraX\esp32_win32_msys2_environment_and_toolchain-20181001\msys32\home\napat\esp\esp-idf/make/project.mk:468: component-libsodium-build] Error 2 $ ls -al ~/esp/esp-idf/components/libsodium/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/ aead_chacha20poly1305.c total 16 drwxr-xr-x 1 napat napat 0 Apr 21 16:01 . drwxr-xr-x 1 napat napat 0 Apr 21 16:01 .. -rw-r--r-- 1 napat napat 13975 Apr 21 16:01 aead_chacha20poly1305.c $
Does anyone know how to fix it?
After move msys from D:\...\esp32_win32_msys2_environment_and_toolchain-20181001\msys32 to C:\msys The issue is gone. Btw I still want to use my D:\ working directory. Does anybody have an idea?
C:\msys
D:\
I tried to make flash detection_with_command_line but got stuck on sodium/aead_chacha20poly1305.d not found.
Note:
D:\...\esp32_win32_msys2_environment_and_toolchain-20181001\msys32
Info
Toolchain:
esp32_win32_msys2_environment_and_toolchain-20181001
esp-idf: v3.1 & v3.2
esp-who: v0.9.1 & master branch
env
OS:
Windows 10 pro
LOG
Does anyone know how to fix it?