Error while trying to use release/5.1

MasterExploder
Posts: 26
Joined: Wed Feb 08, 2023 6:17 pm

Error while trying to use release/5.1

Postby MasterExploder » Thu Apr 06, 2023 5:52 pm

Hi all, my problem is that when i try to use a 5.1 release version, this error occurs:

Code: Select all

Compiler supported targets: xtensa-esp32s3-elf

CMake Error at C:/SysGCC/esp32/esp-idf/master/tools/cmake/tool_version_check.cmake:36 (message):
  

  Tool doesn't match supported version from list ['esp-12.2.0_20230208']:
  C:/SysGCC/esp32/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe


  Please try to run 'idf.py fullclean' to solve it.

Call Stack (most recent call first):
  C:/SysGCC/esp32/esp-idf/master/components/esp_common/project_include.cmake:10 (check_expected_tool_version)
  C:/SysGCC/esp32/esp-idf/master/tools/cmake/build.cmake:397 (include)
  C:/SysGCC/esp32/esp-idf/master/tools/cmake/build.cmake:619 (__build_process_project_includes)
  C:/SysGCC/esp32/esp-idf/master/tools/cmake/project.cmake:464 (idf_build_process)
  CMakeLists.txt:8 (project)


-- Configuring incomplete, errors occurred!
I believe that this is because it expects to find this esp-12.2.0_20230208 and i have this esp-2022r1-11.2.0, i downloaded the esp-12.2.0_20230208 version and put the folder on its position, but i can't understand where to change the path of the search.
Can you please help me?
Thank you in advance

MicroController
Posts: 1708
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Error while trying to use release/5.1

Postby MicroController » Thu Apr 06, 2023 8:03 pm

Did you "try to run 'idf.py fullclean' to solve it"?

Are you building from the shell or from an IDE?

Does the 12.2 gcc show up in the output of "idf_tools.py list" ?

MasterExploder
Posts: 26
Joined: Wed Feb 08, 2023 6:17 pm

Re: Error while trying to use release/5.1

Postby MasterExploder » Fri Apr 07, 2023 4:30 am

Yes i tried to run idf.fullclean, i am building from visual studio 2019 and i downloaded master branch from visual gdb installed in visual studio.

I did not run the last command you said, but if you see my logs you can see that it searches for the 12.2.0 version of idf GCC and in my path i have the 11. version.
I also searched inside my folders and i could only see the 11. version of the GCC.
I think i have to download It manually and manually specify the correct path for esp32s3 gcc but i don't know how to do It.

Thank you in advance.
dvance.

filo_gr
Posts: 110
Joined: Wed Jul 28, 2021 12:25 pm
Location: Italy

Re: Error while trying to use release/5.1

Postby filo_gr » Fri Apr 07, 2023 6:20 am

MasterExploder wrote:
Fri Apr 07, 2023 4:30 am
Yes i tried to run idf.fullclean, i am building from visual studio 2019 and i downloaded master branch from visual gdb installed in visual studio.

I did not run the last command you said, but if you see my logs you can see that it searches for the 12.2.0 version of idf GCC and in my path i have the 11. version.
I also searched inside my folders and i could only see the 11. version of the GCC.
I think i have to download It manually and manually specify the correct path for esp32s3 gcc but i don't know how to do It.

Thank you in advance.
dvance.
Try to delete the .vscode folder/reconfigure this folder. It happened something similar to me when I switched to a different IDF version.
Filippo

MasterExploder
Posts: 26
Joined: Wed Feb 08, 2023 6:17 pm

Re: Error while trying to use release/5.1

Postby MasterExploder » Fri Apr 07, 2023 8:11 am

I am using visual studio community 2019, so i don't have the file you said.
I managed to make it compile downloading the library and putting it in tools folder, and changing path on cmake file, but menuconfig does not work, i still se that if i delete build folder, it still points to 11. version of gcc

Who is online

Users browsing this forum: No registered users and 118 guests