Pico Programming Problem

For general Flowcode discussion that does not belong in the other sections.
Post Reply
macman
Posts: 4
http://meble-kuchenne.info.pl
Joined: Wed Apr 06, 2022 9:07 am
Been thanked: 1 time

Pico Programming Problem

Post by macman »

Working my way through installing toolchains in Flowcode, have installed ESP32 which seems to work, so moved on to the Pico one. Followed the PDF installation instructions I hope to the letter and the same version numbers for all except Git. Pico-sdk is installed to the root of C: and its location recorded in Flowcode. (As an aside, the download links in the PDF are well out of date, not a good start for the beginner!). Anyway, why not start of with a good 'ol Blinky...

Needless to say there's a problem, which I hope is something that I've overlooked - this is the report log :

Code: Select all

Licence key: xxxxxx
   NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat  "C:\pico-sdk\" "Blinky" "C:\Users\derryck\Documents\Flowcode\Blinky\"  

C:\Users\derryck\Documents\Flowcode\Blinky>REM CRC: 11E85D0BF540A03612B9D5AB8A950728A3654FDC084B783F85B503651504FC6E8DA967745A187CF8FECF9115B25085A2774D1D3D69D8A99EE7320EAE740A5DB66BD212DE98DE91D9E3564078A19D1616A5C2ACA5856A86664D00059D79589982019B1EBDA9F75E245824CF181DE22D23B9DE25CDF0E36405D9066202E94705CBBDB038842E43FA4AAC72934211FD4B5DCC661788BEC7C91A063848616D51551DB978AC1A4BAF29AD4517DCDD22FC70DE135D32748FB3D1732C3050DA273BE4EE39DD52E8224900600B1F9528E97AB0BA001B0922CEB719397C7C0C9FABE651313F9A05C84301D1C0 

C:\Users\derryck\Documents\Flowcode\Blinky>REM REVISION: 2.0 

C:\Users\derryck\Documents\Flowcode\Blinky>REM GUID: 9EF5601F-D979-495F-89EB-F1C4F35D9212 

C:\Users\derryck\Documents\Flowcode\Blinky>REM DATE: 30\07\2021 

C:\Users\derryck\Documents\Flowcode\Blinky>REM DIR: FCD\PICO\batch\pico_build.bat 
.

Building Blinky ...
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.15
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
CMake Error at CMakeLists.txt:12 (include):
  include could not find requested file:
    /tools/cmake/project.cmake
. .

-- The C compiler identification is MSVC 19.29.30145.0
-- The CXX compiler identification is MSVC 19.29.30145.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
. .

-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "C:/Users/derryck/Documents/Flowcode/Blinky/Blinky/CMakeFiles/CMakeOutput.log".

Microsoft (R) Program Maintenance Utility Version 14.29.30145.0
Copyright (C) Microsoft Corporation.  All rights reserved.

makefile(11) : fatal error U1033: syntax error : '=' unexpected
Stop.

Build Failed

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat reported error code 0x1

Autoclose turned off


FINISHED

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

Re: Pico Programming Problem

Post by medelec35 »

Hello.
Here are the links for Buildtools and Cmake, which I used, it works for me.
I have placed the compiler log within a code block, otherwise, it takes up too much room on the post.
Martin

macman
Posts: 4
Joined: Wed Apr 06, 2022 9:07 am
Been thanked: 1 time

Re: Pico Programming Problem

Post by macman »

Thank you Martin. Although I had seen and acted on the post you linked to I had presumably made a couple of errors on the way. I'd reverted to previous snapshots of Windows so many times it's hard to know whereabouts. But to cut a long story short, Blinky now exists as a file ready to download to my Pico!

Post Reply