Eclipse build issue

RA5040
Posts: 26
Joined: Mon Jul 30, 2018 1:20 pm

Eclipse build issue

Postby RA5040 » Mon Jul 30, 2018 1:55 pm

Hi,

I'm just starting ESP32 development and I've decided to use Eclipse as the IDE (on Windows 10). I've failed to get the C++ working as per Kolban's video, so I went back to trying the basic c hello-world example, but I'm getting a build error.

I've followed the Espressif instructions to the letter (I'm pretty sure) and I can make the project with no errors. I then set up Eclipse, again following the Espressif instructions to the letter. When I build the project I get the following error:
Error: Program "make" not found in PATH

I checked the PATH, which is specified in the instructions to be C:\msys32\home\Robert\esp\xtensa-esp32-elf\bin. However there is no xtensa-esp32-elf/binfolder there. I then found that there is the C:\msys32\home\Robert\esp\xtensa-esp32-elf\bin folder. So I changed the PATH variable to include this path, but I get the same error.

I have the IDF_PATH set to C:/msys32/home/Robert/esp/esp-idf (and BATCH_BUILT set to 1).

I've gone back and checked the other settings and they seem to be as per the instructions.

I then found this link: https://www.instructables.com/id/ESP32- ... lipse-IDE/ which specifies the PATH variable as C:\msys32\usr\bin;C:\msys32\mingw32\bin;C:\msys32\opt\xtensa-esp32-elf\bin

With this PATH the project builds giving no errors and no warnings ... which is not entirely surprising as the build seems to build everything except for the hello_world_main.c file, which still has a bunch of errors in it after the (successful) build.

Help would be much appreciated!! I can't imagine that the Espressif instructions are wrong (https://esp-idf.readthedocs.io/en/lates ... et-esp-idf and http://esp-idf.readthedocs.io/en/latest ... setup.html) so I must be doing something wrong.

Cheers

Robert

Who is online

Users browsing this forum: Majestic-12 [Bot] and 84 guests