Can't compile the ESP32 With Display gLCD TLT9341

For general Flowcode discussion that does not belong in the other sections.
monie
Posts: 73
http://meble-kuchenne.info.pl
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Can't compile the ESP32 With Display gLCD TLT9341

Post by monie »

Hello everyone

Can anyone here see where it's going wrong?
And how can I fix Flowcode v10 so I can run the file below?

Attached file:
ESP32Ili9341GpsaFloat_OK.fcfx
(44.3 KiB) Downloaded 357 times
And Attached filet:
Compiler Messages.pdf
(44.58 KiB) Downloaded 502 times
Hope you will be helpful with suggestions to fix Flowcode v10 So I can use the ESP32 device.

With best regards
Monie

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by medelec35 »

Hi Monie.
Your project compiles OK for me, so it could be down to your ESP toolchain installation.
Have you tried just compiling a blank project?
I have updated the Wiki ESP32 toolchain guide for starting afresh, I.e. uninstalling the whole toolchain and starting again.
Martin

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by monie »

Hi medelec35


I have gone through your suggestion but to no avail.

See below!
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat reported error code
0x1

Attached filet:
Compiler Messages.pdf
(44.08 KiB) Downloaded 389 times
Do you have any suggestions?
So I can upload my codes without any problem :-)

Best regards
Monie

chipfryer27
Valued Contributor
Posts: 1688
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 583 times

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by chipfryer27 »

Hi

Your error message informs that Python is not installed. You must have that installed to use the ESP.

Please follow Medelec's instructions exactly and don't leave your PC alone as you may miss an option during the process.

Regards

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by monie »

Hi

Gets the following below all the time...

ERROR: Python is not installed...?
============================== Toolchain Check ==============================
ERROR: Python is not installed
git version 2.21.0.windows.1
ESP toolchain found at "C:\esp-idf\"
=============================================================================

Building TestDisplayI2CRSP32-OK-Virker ...

Error: The following tools are not installed in your environment.

python


Please use the Windows Tool installer for setting up your environment.
Download link: https://dl.espressif.com/dl/esp-idf/ - Which of the options should I choose?
Using Windows v11
For more details please visit our website: https://docs.espressif.com/projects/esp ... setup.html
'idf.py' is not recognized as an internal or external command,
operable program or batch file.

Build Failed

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

Autoclose turned off


FINISHED

Tried to install "Python" but no luck.
Keep getting the above message.

Do you have a suggestion?


Regards

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by medelec35 »

hi monie.
If you look at the instructions,
you will see that part of the esp-idf-tools-setup-2.3.exe install process is to install Python if it's not already installed.
It's the second image down.
Python is the first item that's installed.
monie wrote:
Tue Jun 13, 2023 7:37 am
Please use the Windows Tool installer for setting up your environment.
Download link: https://dl.espressif.com/dl/esp-idf/ - Which of the options should I choose?
None, as the toolchain is downloaded from our website.
chipfryer27 is spot on, you can't start the install then leave your PC, as there will be elevated requests and prompts for the destination paths, etc.
Martin

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by monie »

Hi medelec35

I have gone through your suggestion but to no avail.

Which of the options is best to choose when using Windows 11 "ESP-IDF Windows Installer Download"
Open Source IoT Development Framework for ESP32
https://dl.espressif.com/dl/esp-idf/


Download

See below 1 og 2

1: Attached filet:
TestDisplayI2CRSP32.fcfx
(12.64 KiB) Downloaded 379 times
2: Attached filet:
Compiler Messages.pdf
(44.63 KiB) Downloaded 425 times
Hope you will still be helpful with suggestions to fix Flowcode v11 so I can use the ESP32 device.

I have followed very closely
your proposal. But I can't get TestDisplayI2CRSP32 to work

With best regards
Monie
Last edited by monie on Wed Jun 14, 2023 8:44 pm, edited 4 times in total.

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by medelec35 »

Hi, monie.
Flowcode v10 is not broken as I have tried your project on a win10 PC and a win11 laptop and on both setups I get compiled successfully.
I have a couple of suggestions.
1. Run ESP-IDF which should be on your Desktop and enter

Code: Select all

 idf.py --version
then

Code: Select all

Git --version
then

Code: Select all

 python --version
and finally

Code: Select all

install.bat esp32
Can you let me know what the reported idf, git, and python versions are please?
Also post within code tags the text from

Code: Select all

install.bat esp32
2. Make sure the Flowcode component library is fully up to date by Help>Library Updates... Change the Files in-use to full database.
After updating reload your project.

Try compiling again
Martin

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by monie »

Hi medelec35


User:
1: python-3.11.4-amd64
2: Git-2.41.0-64-bit
3: esp-idf-tools-setup-2.3
4: c:\esp-id


Yes = Flowcode component library is fully up to date by Help>Library Updates... Change the Files in-use

With best regards
Monie

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Can't compile the ESP32 With Display gLCD TLT9341

Post by medelec35 »

Hi monie.
For 1.
When I enter

Code: Select all

idf.py --version
I get

Code: Select all

ESP-IDF v4.2.4-233-gfe907a6c39-dirty
I don't know why yours is so different if you followed Wiki ESP32 toolchain guide step by step
Martin

Post Reply