Hello everyone.
I try setting Elipce to build ESP32 projects.
I do all like described in this instruction:
https://docs.espressif.com/projects/esp ... setup.html
and this:
https://docs.espressif.com/projects/esp ... setup.html
But, if I try clean or flash I get message:
"09:07:17 **** Clean-only build of configuration Default for project hello_world ****
python c:/msys32/home/Oleksandr_Turok/esp/esp-idf/tools/windows/eclipse_make.py clean
Traceback (most recent call last):
File "c:/msys32/home/Oleksandr_Turok/esp/esp-idf/tools/windows/eclipse_make.py", line 36, in <module>
main()
File "c:/msys32/home/Oleksandr_Turok/esp/esp-idf/tools/windows/eclipse_make.py", line 28, in main
print("Running make in '%s'" % check_path(os.getcwd()))
File "c:/msys32/home/Oleksandr_Turok/esp/esp-idf/tools/windows/eclipse_make.py", line 23, in check_path
winpath = winpath.replace("\\", "/") # make consistent with forward-slashes used elsewhere
TypeError: a bytes-like object is required, not 'str'
"python c:/msys32/home/Oleksandr_Turok/esp/esp-idf/tools/windows/eclipse_make.py clean" terminated with exit code 1. Build might be incomplete.
09:07:18 Build Finished. 0 errors, 0 warnings. (took 239ms)"
Problem with ESP32 project and Eclipse IDE in Windows
-
- Posts: 3
- Joined: Thu Aug 15, 2019 6:11 am
Re: Problem with ESP32 project and Eclipse IDE in Windows
Not trying to hijack your post, but do you know about PlatformIO ?
https://community.platformio.org/t/espr ... um=piohome
https://community.platformio.org/t/espr ... um=piohome
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Problem with ESP32 project and Eclipse IDE in Windows
Hi olexandr_turok,
please try to edit esp-idf/tools/windows/eclipse_make.py line 23 and replace
with this:
If this helps then I'll create a fix for it.
please try to edit esp-idf/tools/windows/eclipse_make.py line 23 and replace
Code: Select all
winpath = winpath.replace("\\", "/")
Code: Select all
winpath = winpath.replace(b"\\", b"/")
-
- Posts: 3
- Joined: Thu Aug 15, 2019 6:11 am
Re: Problem with ESP32 project and Eclipse IDE in Windows
I fixed my problem. But not all.roland wrote: ↑Thu Aug 15, 2019 12:57 pmHi olexandr_turok,
please try to edit esp-idf/tools/windows/eclipse_make.py line 23 and replace
with this:Code: Select all
winpath = winpath.replace("\\", "/")
If this helps then I'll create a fix for it.Code: Select all
winpath = winpath.replace(b"\\", b"/")
Firstly, I was not attentive with manual.
In this step:
"Edit the PATH environment variable. Delete the existing value and replace it with "
I didn't delete the existing value and only add new.
So, when I deleted old values in PATH, project builds.
But Eclipce doesn't see includes.
And this manual has a mistake:
https://docs.espressif.com/projects/esp ... dows-setup
In step "In the list of providers, click “CDT Cross GCC Built-in Compiler Settings”. Change “Command to get compiler specs” to "
need changing CDT GCC Built-in Compiler Settings Cygwin. Right?
-
- Posts: 3
- Joined: Thu Aug 15, 2019 6:11 am
Re: Problem with ESP32 project and Eclipse IDE in Windows
Hello everyone.
Can you help me with links in Eclipse?
I did all by manuals. But Eclipse doesn't see files.
Can you help me with links in Eclipse?
I did all by manuals. But Eclipse doesn't see files.
- Attachments
-
- EclipceProblem.PNG (119.92 KiB) Viewed 6043 times
Who is online
Users browsing this forum: axellin and 77 guests