Page 1 of 1

Pico compiler toolchain not installed

Posted: Mon Mar 11, 2024 5:44 pm
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?

Re: Pico compiler toolchain not installed

Posted: Mon Mar 11, 2024 6:37 pm
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

Re: Pico compiler toolchain not installed

Posted: Tue Mar 12, 2024 4:14 am
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

Re: Pico compiler toolchain not installed

Posted: Tue Mar 12, 2024 8:31 am
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.

Re: Pico compiler toolchain not installed

Posted: Tue Mar 12, 2024 6:29 pm
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

Re: Pico compiler toolchain not installed

Posted: Tue Mar 12, 2024 7:50 pm
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.