Eclipse Not Building
Code: Select all
IOError: C:/msys32/home/Arne/esp/esp-idf/Kconfig:59: Could not open '/home/Arne/esp/esp-idf/components/bootloader/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: Nothing to be done for 'all'.
Code: Select all
Kconfig will only attempt to fetch the Kconfig.projbuild if there is no existing sdkconfig file in the project directory, thus why you don't see this error when you run make menuconfig or make defconfig in in msys first as sdkconfig will be generated. Since the Eclipse console cannot run make menuconfig, the expected use case is for users to run make menuconfig first before attempting to building the project within Eclipse.
Eclipse Not Parsing Compiler Output
Once you get Eclipse to build successfully, the next thing to figure out is why the CDT Output parser isn't able to parse the include paths from the build output. A few points to note:
- Does your build log contain xtensa-esp32-elf-gcc compiler calls for the parser to parse?
- Does your project/project source files contain any CDT GCC Build Output Entries after a clean and build in Eclipse? If so, what style paths (linux/windows) are those entries in?
- Is Use heuristics to resolve paths enabled in your CDT GCC Build Output Parser Settings?