Page 1 of 4

Problem with the installation ESP32

Posted: Mon Feb 14, 2022 12:18 pm
by SpeedPIC32
Hello Team

I used to have a version that worked.
that was longer ago when I experimented with it.
now it did not work anymore.
I have uninstalled the old version and reinstalled it according to the instruction PDF from Ben.
Error " FAILED: build.ninja "
Who can help?



With kind regards
SpeedPic32

Re: Problem with the installation ESP32

Posted: Mon Feb 14, 2022 12:59 pm
by Steve-Matrix
Searching this forum gets the following result, which hopefully helps:
viewtopic.php?f=3&t=678

Re: Problem with the installation ESP32

Posted: Mon Feb 14, 2022 5:30 pm
by SpeedPIC32
Hello,
I tried it like this.
idf.py build says it cannot find the file
does the file have to be in this directory?

with kind regards

Re: Problem with the installation ESP32

Posted: Tue Feb 15, 2022 10:00 am
by BenR
Please can you attach your msg.txt file so we can investigate further.

Might also help to see the paths to your Flowcode Project, ESP IDF and ESP IDF Tools folders.

Re: Problem with the installation ESP32

Posted: Tue Feb 15, 2022 1:31 pm
by SpeedPIC32
Target folder: C:\Users\uwe\Documents\Daten\Matrix
Source name: C:\Users\uwe\Documents\Daten\Matrix\DSTIKE.fcfx
Device: ESP.ESP32.ESP32_WROVER
Generated by: Flowcode v9.2.0.33
Date: Tuesday, February 15, 2022 14:18:49
Registered to: SpeedPic32 (24146314)
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\uwe\Desktop\esp-idf\" "DSTIKE" "C:\Users\uwe\Documents\Daten\Matrix\" esp32s_sdkconfig
C:\Users\uwe\Documents\Daten\Matrix>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\Users\uwe\Documents\Daten\Matrix>REM REVISION: 4.0
C:\Users\uwe\Documents\Daten\Matrix>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\uwe\Documents\Daten\Matrix>REM DATE: 29\03\2021
C:\Users\uwe\Documents\Daten\Matrix>REM DIR: FCD\ESP\Batch\esp32_build.bat
Setting IDF_PATH: C:\Users\uwe\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\uwe\.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\bin
C:\Users\uwe\.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\uwe\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32s3-elf\bin
C:\Users\uwe\.espressif\tools\riscv32-esp-elf\esp-2021r2-patch2-8.4.0\riscv32-esp-elf\bin
C:\Users\uwe\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\uwe\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\uwe\.espressif\tools\cmake\3.20.3\bin
C:\Users\uwe\.espressif\tools\openocd-esp32\v0.11.0-esp32-20211220\openocd-esp32\bin
C:\Users\uwe\.espressif\tools\ninja\1.10.2\
C:\Users\uwe\.espressif\tools\idf-exe\1.0.3\
C:\Users\uwe\.espressif\tools\ccache\4.3\ccache-4.3-windows-64
C:\Users\uwe\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Users\uwe\.espressif\python_env\idf4.4_py3.7_env\Scripts
C:\Users\uwe\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\uwe\Desktop\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
[0/1] Re-running CMake...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.35.1.windows.2")
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-- ccache will be used for faster recompilation
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/Users/uwe/Documents/Daten/Matrix/DSTIKE/sdkconfig
CMake Error at C:/Users/uwe/Desktop/esp-idf/tools/cmake/crosstool_version_check.cmake:37 (message):
C:/Users/uwe/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe,
crosstool-ng version esp-2020r3 doesn't match supported version esp-2021r2
Please try to run 'idf.py fullclean' to solve it quickly.
Check Getting Started documentation if the error continues.
You can override this error and proceed with build by defining the
IDF_MAINTAINER environment variable.
Call Stack (most recent call first):
C:/Users/uwe/Desktop/esp-idf/components/esp_common/project_include.cmake:7 (crosstool_version_check)
C:/Users/uwe/Desktop/esp-idf/tools/cmake/build.cmake:324 (include)
C:/Users/uwe/Desktop/esp-idf/tools/cmake/build.cmake:537 (__build_process_project_includes)
C:/Users/uwe/Desktop/esp-idf/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:13 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/uwe/Documents/Daten/Matrix/DSTIKE/build/CMakeFiles/CMakeOutput.log".
C:\Users\uwe\.espressif\tools\cmake\3.13.4\bin\cmake.exe -SC:\Users\uwe\Documents\Daten\Matrix\DSTIKE -BC:\Users\uwe\Documents\Daten\Matrix\DSTIKE\build
ninja: error: rebuilding 'build.ninja': subcommand failed
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory c:\users\uwe\documents\daten\matrix\dstike\build
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1


C:\Users\uwe\Documents\Daten\Matrix\DSTIKE.fcfx
C:\Users\uwe\Desktop\esp-idf
C:\Users\uwe\Desktop\esp-idf\tools

with kind regards

Re: Problem with the installation ESP32

Posted: Tue Feb 15, 2022 4:36 pm
by LeighM
crosstool-ng version esp-2020r3 doesn't match supported version esp-2021r2
Please try to run 'idf.py fullclean' to solve it quickly.
Maybe try what is suggested above (using the ESP-IDF Command Prompt)

Re: Problem with the installation ESP32

Posted: Fri Feb 18, 2022 2:40 pm
by SpeedPIC32
Hi
I have uninstalled FC and ESP32 and Phython and and....
reinstalled everything, deleted directories because it was not possible to uninstall them
installed different versions of Phython, ESP-IDF and Tools etc.
in different directories etc.
result: does not work.
and now new :installation is aborted by error.
I don't get it.
For the stupid, what do I have to do?
Which version to install where?
What must be installed first?
What has to be started where?
What do I have to enter where?
Do I have to restart FC in between?
Why can't I uninstall and reinstall everything...?
Couldn't such problems be solved with the TEAMviewer software?
Then it would have been done long ago.
What do you think

Make some suggestions

With kind regards
SpeedPic32

Re: Problem with the installation ESP32

Posted: Sat Feb 19, 2022 9:15 am
by SpeedPIC32
Meldung 1.jpg
Meldung 1.jpg (32.54 KiB) Viewed 3728 times

Re: Problem with the installation ESP32

Posted: Sat Feb 19, 2022 10:33 am
by medelec35
Hi.
That is caused by installing a later version than stated within the ESP32 Toolchain Installation guide.
Toolchain from the ESP32 site for some odd reason shows v2.3 within the file name, but as you can see it's v2.9
Can you completely uninstall your current version and delete the ESP folders.
Download the toolchain from here
It might be best to disable AV, in case it interferes with the install progress.
Follow the ESP32 Toolchain Installation guide step-by-step and select the nearest version the guide states and not the latest versions.
I installed 4.1.2 release version.
If that is not available, then anything that has 4.1 in it.
4.1 release branch should also work if 4.1.x release version not available
Also, delete the new folders that are created when you compile a project.
There are normally named the same as the project folder but will have underscores.
You can also try restarting your PC after installation.

Re: Problem with the installation ESP32

Posted: Sun Feb 20, 2022 11:07 am
by SpeedPIC32
Hi medelec35
The software wants to install itself here.
See pictures.
Can you tell me if it works like this or what do I have to change here?

With kind regards
SpeedPic32