An error occurred during ESP compilation

For general Flowcode discussion that does not belong in the other sections.
Post Reply
niedian
Posts: 105
http://meble-kuchenne.info.pl
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

An error occurred during ESP compilation

Post by niedian »

An error occurred during ESP compilation.why?
Target folder: E:\flowcode exp

Source name: E:\flowcode exp\Flowcode1.fcfx

Title:

Description:

Device: ESP.ESP32.ESP32

Generated by: Flowcode v9.3.0.35

Date: Sunday, November 27, 2022 19:35:14

Users: 1

Registered to: 18913347650 (18913347650)

Licence key:

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:\Espressif\" "Flowcode1" "E:\flowcode exp\" esp32s_sdkconfig



E:\flowcode exp>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE 740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24 580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F4803 96BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB



E:\flowcode exp>REM REVISION: 4.0



E:\flowcode exp>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2



E:\flowcode exp>REM DATE: 29\03\2021



E:\flowcode exp>REM DIR: FCD\ESP\Batch\esp32_build.bat

Building Flowcode1 ...

'"C:\Espressif\export.bat"' is not an internal or external command, nor is it a runnable program

Or batch file.

'idf.py' is not an internal or external command or a runnable program

Or batch file.



Build Failed



C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1



Autoclose turned off





FINISHED

LeighM
Valued Contributor
Posts: 447
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 81 times
Been thanked: 243 times

Re: An error occurred during ESP compilation

Post by LeighM »

Looks like the ESP32 toolchain has not been installed correctly.
Please see Wiki
https://www.flowcode.co.uk/wiki/index.p ... _Toolchain

And the installation instructions PDF
https://www.flowcode.co.uk/wiki/index.p ... ctions.pdf

Also check that the correct toolchain location is entered in the Flowcode settings.

Ah, just noticed, you have a space in the project path.
Unfortunately, that can cause issues.

Post Reply