ESP+Eclipse SDK compilation error: '.subdirs' problem, xtensa problem

I downloaded the SDK firmware development kit of ESP8266 on the Internet, and downloaded Eclipse+IDE as the development platform and the cygwin environment. I directly downloaded someone else's compressed package, so it has its own cygwin, eclipse, and project in it. Therefore, other configurations were not done, resulting in a failure to compile when building. It is rarely said on the Internet (except for foreign ones). The specific questions are:


one,

xtensa-lx106-elf not found
Don't write down the specifics, just write down the keywords
-xf -xcc
Or something like this.
There is a sentence in the console: Is xtensa-lx106-elf in the path? Next comes a bunch of errors. So in short , the path problem of environment variables
In this case, I put (note the semicolon separation);
               ...\cygwin\opt\xtensa-lx106-elf\bin to path.
two,


Makefile:330: recipe for target '.subdirs' failed

Such a problem is the problem of the makefile. If there is a problem with the specific file, add the suffix .bak to the makefile under which file or delete it (keep it in case, just add the suffix).
three,
By the way: if when importing the project, there is no cyg. . If the platform option is selected, add the .../cygwin/bin path to the environment variable path.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326712583&siteId=291194637