-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TW#27900] Error Kconfig and Makefile when build eclipse #2812
Comments
Same for me |
me too |
my path is "E:\Entwicklungsumgebung\ESP32\home\sascha\esp\esp-idf" |
Me too. |
Adding SRCTREE environment variable as C:\msys32\home\jcsba\esp\esp-idf or various other paths doesn't help but does show in the error message that $srctree was defined rather than being unset as with the original error message. |
Maybe
Kconfiglib itself doesn't do any special path processing. It's probably some kind of mismatch between the Python version being used and MSYS2. |
I've got this error too |
The master branch is broken right now. I've checkout on 964f5a9 commit, then the build returned to work |
I try " https://github.com/espressif/esp-idf/releases" ESP-IDF Release v3.1.1 as @SMHRambo comment , |
Same problem. |
Hi all, @ulfalizer is correct. The kconfig paths are not passed to the linker script generator (ldgen.py) properly unlike when build is invoked from MSYS. I've submitted a fix internally, the patch file is provided below for you to verify if it works. 0004-ldgen-fix-issue-when-not-built-in-msys2.patch.txt @kakaducsy Although just warnings, those seem to be important ones. These might have been fixed by later commits, though. If you tried the patch on the latest master and those warnings still persist, I encourage you to file a separate issue for that. |
build failed on Ubuntu with this current IDF Version : v4.1-dev-256-g9f145ff Generating esp32.project.ld please help on this.. :( |
I try to build project with eclipse but error as bellow:
Traceback (most recent call last): File "C:/msys32/home/sy.nguyen-duc/esp/esp-idf/tools/ldgen/ldgen.py", line 114, in <module> main() File "C:/msys32/home/sy.nguyen-duc/esp/esp-idf/tools/ldgen/ldgen.py", line 98, in main sdkconfig = SDKConfig(kconfig_file, config_file, args.env) File "C:/msys32/home/sy.nguyen-duc/esp/esp-idf/tools/ldgen/sdkconfig.py", line 54, in __init__ self.config = kconfiglib.Kconfig(kconfig_file.name) File "C:\msys32\home\sy.nguyen-duc\esp\esp-idf\tools\kconfig_new/kconfiglib.py", line 653, in __init__ self.top_node) # prev_node File "C:\msys32\home\sy.nguyen-duc\esp\esp-idf\tools\kconfig_new/kconfiglib.py", line 1546, in _parse_block self._enter_file(sourced_file) File "C:\msys32\home\sy.nguyen-duc\esp\esp-idf\tools\kconfig_new/kconfiglib.py", line 1130, in _enter_file .format(self._filename, self._linenr, e.message)) IOError: C:/msys32/home/sy.nguyen-duc/esp/esp-idf/Kconfig:59: Could not open '/home/sy.nguyen-duc/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). cygpath: error converting "/c/Users/sy.nguyen-duc/Desktop/workpace/HelloWorld/build/esp_https_ota/libesp_https_ota.a.sections_info\n" - Not a directory make: *** [/home/sy.nguyen-duc/esp/esp-idf/components/esp32/Makefile.projbuild:51: /c/Users/sy.nguyen-duc/Desktop/workpace/HelloWorld/build/esp32/esp32.common.ld] Error 1
Can you help me to resolve? Thanks all
The text was updated successfully, but these errors were encountered: