-->
Page 1 of 3

ESP8266 ECLIPSE SETUP ERROR

PostPosted: Wed Jun 23, 2021 7:16 am
by Raghul NM
Hi
For a new ESP8266 project we are planning to use Eclipse IDE.
I followed the steps from the below link.

https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/get-started/eclipse-setup-windows.html

I used the gpio example from the 'ESP8266_RTOS_SDK-master' SDK. On building the project I am getting the following error in the eclipse debug console.

"python C:\\ESP\\ESP8266_RTOS_SDK-master\\tools\\windows\\eclipse_make.py" -j4 all
Cannot run program "python C:\ESP\ESP8266_RTOS_SDK-master\tools\windows\eclipse_make.py": Launching failed

Error: Program "python C:\ESP\ESP8266_RTOS_SDK-master\tools\windows\eclipse_make.py" not found in PATH
PATH=[C:\ESP\msys32\usr\bin;C:\ESP\msys32\mingw32\bin;C:\ESP\msys32\opt\xtensa-esp32-elf\bin]

17:04:05 Build Failed. 1 errors, 0 warnings. (took 88ms)


I used the gpio example in ESP8266_RTOS_SDK-master SDK.
As per the above link, I've set the following environment variables under Project properties-->C/C++ Build-->Environment,
BATCH_BUILD = 1
IDF_PATH = C:/ESP/ESP8266_RTOS_SDK-master
PATH = C:\ESP\msys32\usr\bin;C:\ESP\msys32\mingw32\bin;C:\ESP\msys32\opt\xtensa-esp32-elf\bin

In C/C++ Build settings,
Build commands = python ${IDF_PATH}/tools/windows/eclipse_make.py

Has anyone faced similar issue?

Thank You for your time.

Re: ESP8266 ECLIPSE SETUP ERROR

PostPosted: Wed Jun 23, 2021 7:15 pm
by davydnorris
Do you have python installed and in your PATH?

Re: ESP8266 ECLIPSE SETUP ERROR

PostPosted: Fri Jun 25, 2021 6:23 am
by Raghul NM
davydnorris wrote:Do you have python installed and in your PATH?

I've installed Python 3.9.5.
In the windows command line I've used the command 'echo %PATH%' and it's reply has the following python paths.
C:\Users\User\AppData\Local\Programs\Python\Python39\Scripts\;
C:\Users\User\AppData\Local\Programs\Python\Python39\;

I also tried by adding these paths into PATH variable inside eclipse - Project Properties-->C/C++ Build-->Environment.
But still the same error shows up.

Thank You for your time.

Re: ESP8266 ECLIPSE SETUP ERROR

PostPosted: Fri Jun 25, 2021 6:31 am
by Raghul NM
davydnorris wrote:Do you have python installed and in your PATH?

I've installed python Python 3.9.5.

"echo %PATH%" has the following paths.

C:\Users\RAGHUL\AppData\Local\Programs\Python\Python39\Scripts\;
C:\Users\RAGHUL\AppData\Local\Programs\Python\Python39\;

I've also added these path under PATH variable in eclipse - Project Properties --> C/C++ Build --> Environment
But still the same error shows up.

Thank You for your time.