ESP32 FAILED: build.ninja

For general Flowcode discussion that does not belong in the other sections.
Post Reply
SpeedPIC32
Posts: 252
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

ESP32 FAILED: build.ninja

Post by SpeedPIC32 »

I get this message although I have installed everything freshly
I just can't get any further.
I probably haven't found everything in the forum yet and tried it out.
Please have a look at it

Greetings

Target folder: C:\Users\uwe\Documents\Daten\Matrix
Source name: C:\Users\uwe\Documents\Daten\Matrix\dstike uhr.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32
Generated by: Flowcode v9.2.0.33
Date: Monday, September 27, 2021 15:00:33
Users: 1
Registriert für: SpeedPic32 (24146314)
Lizenzschlüssel:UCCVMA
NICHT FÜR KOMMERZiELLE ANWENDUNGEN
https://www.flowcode.co.uk
Using FCD settings for compiler
Start des Compilers...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\uwe\Desktop\esp-idf\" "dstike uhr" "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
Building dstike uhr ...
Setting IDF_PATH: C:\Users\uwe\Desktop\esp-idf

Adding ESP-IDF tools to PATH...
C:\Users\uwe\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Users\uwe\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-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.13.4\bin
C:\Users\uwe\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin
C:\Users\uwe\.espressif\tools\ninja\1.9.0\
C:\Users\uwe\.espressif\tools\idf-exe\1.0.1\
C:\Users\uwe\.espressif\tools\ccache\3.7\
C:\Users\uwe\.espressif\python_env\idf4.1_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:

idf.py build

[0/1] Re-running CMake...
FAILED: build.ninja
C:\Users\uwe\.espressif\tools\cmake\3.16.4\bin\cmake.exe -SC:\Users\uwe\Documents\Daten\Matrix\dstike_uhr -BC:\Users\uwe\Documents\Daten\Matrix\dstike_uhr\build
CreateProcess failed: The system cannot find the file specified.
ninja: error: rebuilding 'build.ninja': subcommand failed
Executing action: all (aliases: build)
Running ninja in directory c:\users\uwe\documents\daten\matrix\dstike_uhr\build
Executing "ninja all"...
ninja failed with exit code 1

Build Failed

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat Hat den Fehlercode 0x1 gemeldet

Autoclose turned off


BEENDET

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 71 times
Been thanked: 217 times

Re: ESP32 FAILED: build.ninja

Post by LeighM »

Hi,
Some ideas ...
Are there any non-ASCII characters in the project path? Such as in the user name?
If not, could you try running the ESP-IDF Command Prompt (that should be on your desktop)
Then change directory (cd) to the project directory
e.g.

Code: Select all

cd "c:\users\uwe\documents\daten\matrix\dstike_uhr"
Then type

Code: Select all

idf.py build
and see what that does

To capture the output (for posting) type

Code: Select all

idf.py build > logfile.txt 

Post Reply