Pico compiler toolchain not installed

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Dutchie_World_Wide
Posts: 4
http://meble-kuchenne.info.pl
Joined: Tue Dec 15, 2020 2:25 pm
Has thanked: 1 time
Been thanked: 1 time

Pico compiler toolchain not installed

Post by Dutchie_World_Wide »

The last time I used flow code was a long time ago, (V6) and wanted to pick it up again.

I followed the instructions for V10 for windows10, I did everything it said.
But in the end I still get the pico toolchain compiler toolchain not installed.

I reinstalled python, ran the GIT several times, even used the example of: C:\Users\*****\Downloads\pico-sdk

even bought the licence for RPI as

Anyone some advise of what I might have missed?

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: Pico compiler toolchain not installed

Post by medelec35 »

Hello.
As the message refers to the toolchain not installed, then that will be down to the step Setting up Flowcode for use with the Pico toolchain
It shows you to enter the Pico sdk path within Global options > Locations
Martin

Dutchie_World_Wide
Posts: 4
Joined: Tue Dec 15, 2020 2:25 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Pico compiler toolchain not installed

Post by Dutchie_World_Wide »

Thanks Martin,

I had the location under Raspberry instead of Pico 🤦‍♂

But then when I wanted to compile to target, i got this:

Building Flowcode1 ...
PICO_SDK_PATH is C:/Users/*****/Downloads/pico-sdk
PICO platform is rp2040.
CMake Error at C:/Users/*****/Downloads/pico-sdk/CMakeLists.txt:10 (project):
Running
'nmake' '-?'
failed with:
no such file or directory
-- Configuring incomplete, errors occurred!
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Build Failed



I am using: cmake-3.29.0-rc3-windows-x86_64

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: Pico compiler toolchain not installed

Post by medelec35 »

Hello,
At least you are a step closer.
That could a path issue, out of date Pico batch file or something missed following these Pico toolchain instructions, including wrong visual studio version.
First if not already done so, make sure Flowcode is up to-day via Help > Library updates...
Change Files in-use to Full database then close and reopen Flowcode.
Sometimes just restarted PC after installation can sort issues out

If you still have an issue, can you post your .msg.txt file that will be in the same directory as your project.
Martin

Dutchie_World_Wide
Posts: 4
Joined: Tue Dec 15, 2020 2:25 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Pico compiler toolchain not installed

Post by Dutchie_World_Wide »

Thanks medelec35,

Indeed the wrong visual studio.
I followed these instruction and they have a different link to a visual studeo:
https://www.flowcode.co.uk/resources/mi ... 20Pico.pdf

Thanks

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: Pico compiler toolchain not installed

Post by medelec35 »

At least you are now all sorted. :D
Many thanks for the additional information.
The link you posted should not be pointing to the pdf file, it should be pointing to link I posted.
I have emailed a work colleague so he can get it changed.
For the Build Tools for Visual Studio 2019 there are now to many hurdles to jump over which is out of our control.
What we did was update the compiling batch file, so the tools are changed to 2022 as that was the latest version at the time.
We will have to keep an eye on this going forward as at some point 2022 version will be difficult do download without a developers account.
It anyone experiences that then please let us know so we can update the Pico compile batch file again.
Martin

Post Reply