Issues: latest toolchain install on Windows

Kubuś Puchatek
Posts: 4
Joined: Tue Apr 14, 2020 8:47 pm

Re: Issues: latest toolchain install on Windows

Postby Kubuś Puchatek » Sun Apr 19, 2020 5:39 pm

It still doesn't work. I get an error:

Code: Select all

Python requirements from C:\esp32\esp-idf\requirements.txt are satisfied.
Warn about uninitialized values.
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.25.1.windows.1") 
-- IDF_TARGET not set, using default target: esp32
-- Building for target esp32
-- ccache will be used for faster builds
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp32/SysGCC/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp32/SysGCC/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp32/SysGCC/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- broken
-- Configuring incomplete, errors occurred!
See also "C:/esp32/mkm/eclipse-workspace/hello_world/hello_world/build/CMakeFiles/CMakeOutput.log".
See also "C:/esp32/mkm/eclipse-workspace/hello_world/hello_world/build/CMakeFiles/CMakeError.log".
Note: You are using Python 3.8.2. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7.
Checking Python dependencies...
Running cmake in directory C:\esp32\mkm\eclipse-workspace\hello_world\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized c:\esp32\mkm\eclipse-workspace\hello_world\hello_world"...
cmake failed with exit code 1
Any ideas?
Regards
Kamil

Kubuś Puchatek
Posts: 4
Joined: Tue Apr 14, 2020 8:47 pm

Re: Issues: latest toolchain install on Windows

Postby Kubuś Puchatek » Mon Apr 20, 2020 10:01 am

I found a temporary workaround. If in the cmd window I put the "path" command

Code: Select all

c:\esp32\mkm\hello_world>path C:/Program Files/Java/jre1.8.0_241/bin/server;C:/Program Files/Java/jre1.8.0_241/bin;[cut...];C:\esp32\esp-idf\tools;C:\esp32\esp-idf;C:\esp32\eclipse
the "idf.py menuconfig" and "idf.py build"works.
At least until next computer reset or change project directory. How to turn a temporary workaround into a permanent solution?
The "path" variable is copied from "sysdm.cpl/Advanced Tab/Environment Variables".
Regards
Kamil

[edit]
I figured it out.The "path" stored in registry wasn't correct. It looked like this: "C:/esp32/.espressif/tools/..." but should be like this: "C:\esp32\.espressif\tools\..."

surajnagulamalyala
Posts: 24
Joined: Tue Jul 27, 2021 2:18 pm

Re: Issues: latest toolchain install on Windows

Postby surajnagulamalyala » Sat May 07, 2022 10:34 am

Hi team,

Presently am working on Eclipse IDE and am using ESP-IDF latest v4.4.1, when am trying to build all files after installation of tools, frameworks am getting error saying that "-- The CXX compiler identification is unknown" , below is the error message in ESP-IDF command prompt

Please suggest me correct solution to come out of these issue

Thanking you,
Suraj, N
Attachments
image (5).png
image (5).png (132.6 KiB) Viewed 2884 times

mfawzy79
Posts: 17
Joined: Thu Feb 18, 2021 11:21 pm

Re: Issues: latest toolchain install on Windows

Postby mfawzy79 » Sat Jun 25, 2022 12:38 am

Hi ALl,


I'm getting the same error as well. Any update?

Thanks,
Mohammed Fawzy

Who is online

Users browsing this forum: Bing [Bot] and 191 guests