ESP32 Can't compile
Posted: Sun Oct 03, 2021 11:47 pm
Hi I have this problem when trying to compile toolchains are installed and also esp-idf
this was working some time ago now it's not.
Anyone can help please?
Target folder: C:\Users\alanc\Desktop\ESP32FC
Source name: C:\Users\alanc\Desktop\ESP32FC\Flowcode1.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROVER
Generated by: Flowcode v9.2.0.33
Date: Sunday, October 03, 2021 23:27:09
Users: 1
Registered to: Alan_37 (61413253)
Licence key: KKF1X9
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\alanc\Desktop\esp-idf\\" "Flowcode1" "C:\Users\alanc\Desktop\ESP32FC\" esp32s_sdkconfig
C:\Users\alanc\Desktop\ESP32FC>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\Users\alanc\Desktop\ESP32FC>REM REVISION: 4.0
C:\Users\alanc\Desktop\ESP32FC>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\alanc\Desktop\ESP32FC>REM DATE: 29\03\2021
C:\Users\alanc\Desktop\ESP32FC>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building Flowcode1 ...
Setting IDF_PATH: C:\Users\alanc\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
Traceback (most recent call last):
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1387, in <module>
main(sys.argv[1:])
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1383, in main
action_func(args)
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1008, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 847, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 389, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\subprocess.py", line 466, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\Python37\lib\subprocess.py", line 769, in __init__
restore_signals, start_new_session)
File "C:\Program Files\Python37\lib\subprocess.py", line 1172, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
'idf.py' is not recognized as an internal or external command,
operable program or batch file.
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
this was working some time ago now it's not.
Anyone can help please?
Target folder: C:\Users\alanc\Desktop\ESP32FC
Source name: C:\Users\alanc\Desktop\ESP32FC\Flowcode1.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROVER
Generated by: Flowcode v9.2.0.33
Date: Sunday, October 03, 2021 23:27:09
Users: 1
Registered to: Alan_37 (61413253)
Licence key: KKF1X9
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\alanc\Desktop\esp-idf\\" "Flowcode1" "C:\Users\alanc\Desktop\ESP32FC\" esp32s_sdkconfig
C:\Users\alanc\Desktop\ESP32FC>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\Users\alanc\Desktop\ESP32FC>REM REVISION: 4.0
C:\Users\alanc\Desktop\ESP32FC>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\alanc\Desktop\ESP32FC>REM DATE: 29\03\2021
C:\Users\alanc\Desktop\ESP32FC>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building Flowcode1 ...
Setting IDF_PATH: C:\Users\alanc\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
Traceback (most recent call last):
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1387, in <module>
main(sys.argv[1:])
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1383, in main
action_func(args)
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 1008, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\Users\alanc\Desktop\esp-idf\tools\idf_tools.py", line 847, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python37\lib\subprocess.py", line 389, in check_output
**kwargs).stdout
File "C:\Program Files\Python37\lib\subprocess.py", line 466, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\Python37\lib\subprocess.py", line 769, in __init__
restore_signals, start_new_session)
File "C:\Program Files\Python37\lib\subprocess.py", line 1172, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
'idf.py' is not recognized as an internal or external command,
operable program or batch file.
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED