Page 1 of 1

Win10 + Eclipse 編譯問題!!

Posted: Wed Dec 12, 2018 6:29 am
by YutingLin
我依照網站教學設定
在 MSYS2 的環境之下編譯已經成功可正常使用
但在設置 Eclipse 開發環境時卻出現如下的錯誤一直排除不了

IOError: C:/msys32/home/Yuting/esp/esp-idf/Kconfig:59: Could not open '/home/Yuting/esp/esp-idf/components/app_update/Kconfig.projbuild' (ENOENT: No such file or directory). Perhaps the $srctree environment variable (which was unset) is set incorrectly. Note that the current value of $srctree is saved when the Kconfig instance is created (for consistency and to cleanly separate instances). Also note that e.g. $FOO in a 'source' statement does not refer to the environment variable FOO, but rather to the Kconfig Symbol FOO (which would commonly have 'option env="FOO"' in its definition).
make: *** [/home/Yuting/esp/esp-idf/components/esp32/Makefile.projbuild:51: /home/Yuting/esp/hello_world/build/esp32/esp32.common.ld] Error 1

上網找了很多資訊
也在 Youtube 看了幾部相關設定的影片
都無法排除此問題

在中文官網上,唯一有說道相關的設定可能是這個
取消选中 “Allow heuristic resolution of includes”。因为启用此选项时,有时会导致 Eclipse 无法找到正确的头文件目录。

已都按照說明設定
還是無法編譯

在網路上查找解法問題時, 發現也有人跟我遇到一樣的狀況
viewtopic.php?f=13&t=8367
https://github.com/espressif/esp-idf/issues/2812

但無人回應 @"@
不知該如何解決

謝謝!!

Re: Win10 + Eclipse 編譯問題!!

Posted: Mon Dec 17, 2018 2:21 am
by ESP_Alvin
Hi, YutingLin

https://github.com/espressif/esp-idf/issues/2812 问题已解,可否参考试下你的问题 也得到了解决?

谢谢。

Alvin
Best Regards

Re: Win10 + Eclipse 編譯問題!!

Posted: Mon Dec 17, 2018 3:45 am
by YutingLin
看討論串
剛 同步到 GitHub 上的最後的發版 (2018/12/14)
測試編譯 OK !!

(開發平台是一回事,主要用 Eclipse 的 多核編譯功能速度差很多 ^_^)

謝謝!!