New user: ESP32 toolchain not found

For general Flowcode discussion that does not belong in the other sections.
Post Reply
OldHound
Posts: 4
http://meble-kuchenne.info.pl
Joined: Mon Oct 21, 2024 11:19 am

New user: ESP32 toolchain not found

Post by OldHound »

I've just installed Flowcode and am trying to build my first test program. When I click compile to target I get errors about not being able to find the toolchain - see below.
ESP32 compiler error.txt
(1.95 KiB) Downloaded 124 times
The ESP toolchain is actually installed in directory K:\FC_ESP, the project (ESP32-test) is in K:\Flowcode and the Flowcode executable is in C:\Program Files (x86)\Flowcode v10.

Constructive suggestions welcom.

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

Re: New user: ESP32 toolchain not found

Post by medelec35 »

Hello.
When you run the installer the path should have automatically been added to the registry.
In this case it does not appear to be added correctly.

What you can do is check the path set within Flowcode.

Within Flowcode, open, select File > Global Settings.. Locations tab
Look at the ESP 32 window and correct the path.
This is mine:
ESP32 path.png
ESP32 path.png (35.13 KiB) Viewed 2219 times
Make sure your ESP32 path is entered.

If all looks correct, then your antivirus could have prevented the installer from adding all the files.
You should see:
ESP32 Folders1.png
ESP32 Folders1.png (11.8 KiB) Viewed 2216 times
Folder sizes:
Folder sizes1.png
Folder sizes1.png (13.88 KiB) Viewed 2215 times
Martin

OldHound
Posts: 4
Joined: Mon Oct 21, 2024 11:19 am

Re: New user: ESP32 toolchain not found

Post by OldHound »

The options have the correct path
Options.jpg
Options.jpg (63.17 KiB) Viewed 2209 times
There are more folders under K:\FC_ESP than in your example but the esp-tools and framewoks folders are the same size as yours.
Folders.jpg
Folders.jpg (50.8 KiB) Viewed 2209 times
Any further suggestions?

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

Re: New user: ESP32 toolchain not found

Post by medelec35 »

The extra folders are normal and you get an extra folder for every different target tried.
I edited mine out to avoid confusion.

Have you run a full library update?
Help > Library Updates..
Change dropdown Files in-use to Full database
Download updates then reload your project.
File > Reload
Martin

OldHound
Posts: 4
Joined: Mon Oct 21, 2024 11:19 am

Re: New user: ESP32 toolchain not found

Post by OldHound »

I'd done a library update but only Files in-use. Doing a Full database update fixed the problem. The code now compiles and downloads ok.

Thanks for your help.

Post Reply