build时警告:/git-core/git-sh-setup找不到esp-idf和esp-mdf文件及目录

707585712
Posts: 1
Joined: Wed Mar 03, 2021 2:26 am

build时警告:/git-core/git-sh-setup找不到esp-idf和esp-mdf文件及目录

Postby 707585712 » Wed Mar 10, 2021 9:27 am

我在编译D:\esp32_Platform\workspace\esp-mdf\examples里面的例子(如D:\esp32_Platform\workspace\esp-mdf\examples\get-started)时出现如下警告:
-- Found Git: C:/Program Files/Git/bin/git.exe (found version "2.30.1.windows.1")
/mingw64/libexec/git-core/git-sh-setup: line 189: cd: /cygdrive/d/esp32_Platform/workspace/esp-mdf/esp-idf: No such file or directory
Cannot chdir to $cdup, the toplevel of the working tree
/mingw64/libexec/git-core/git-sh-setup: line 189: cd: /cygdrive/d/esp32_Platform/workspace/esp-mdf: No such file or directory
Cannot chdir to $cdup, the toplevel of the working tree

请问,这是什么原因?怎么解决?谢谢!
(esp_idf目录为D:\esp32_Platform\workspace\esp-mdf\esp-idf,win10+eclispe中Envireonment中IDF_PATH和MDF_PATH路径设置也是正确的。)

Who is online

Users browsing this forum: No registered users and 40 guests