Page 1 of 1

how to resolving dependencies in eclipse IDE?

Posted: Sat Apr 28, 2018 8:35 am
by mkseven32
Hi all
i follow all steps of Build and Flash with Eclipse IDE, but when i write a test file for building project.

there is a problem of dependencies. how could i config the path to resolving dependencies ?

Re: how to resolving dependencies in eclipse IDE?

Posted: Sat Apr 28, 2018 9:33 am
by papaluna
1. You have defined the ESP-IDF include directories under the section "Assembler" but the ESP-IDF include headers are C code.
So you need to define them under the section "GNU C". Goto Project Properties => C/C++ General => "Path & Symbols" property page => tabIncludes: For Language="GNU C" Do: add the includes.

2. If you are using the MSYS2 environment under MS WIndows then I would define IDF_PATH with its own specific notation for drive letters and forward slashes: /c/myiot/esp/esp-idf