CMake Error at pico_sdk_import.cmake:62

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
HansJuergenHalder
Posts: 13
http://meble-kuchenne.info.pl
Joined: Sat Dec 12, 2020 12:32 am

CMake Error at pico_sdk_import.cmake:62

Post by HansJuergenHalder »

Hello,

when I try to flash the Blink program onto an RP2040, I get the following error message:

C:\sonstiges\Flowcode\Flowcode10\Flowcode1Pico>REM DIR: FCD\PICO\batch\pico_build.bat
Building Flowcode1Pico ...
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.14.14
** Copyright (c) 2025 Microsoft Corporation
**********************************************************************
. . .

CMake Error at pico_sdk_import.cmake:62 (message):
Directory 'C:/Users/Vati/.pico-sdk/RPI' does not appear to contain the
Raspberry Pi Pico SDK
Call Stack (most recent call first):
CMakeLists.txt:7 (include)
-- Configuring incomplete, errors occurred!

Microsoft (R) Program Maintenance Utility, Version 14.44.35216.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

NMAKE : fatal error U1064: MAKEFILE nicht gefunden und kein Ziel angegeben
Stop.

Build Failed

The following is entered in the options under storage locations:

PICO: C:\Users\Vati\.pico-sdk

mnfisher
Valued Contributor
Posts: 1659
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 764 times

Re: CMake Error at pico_sdk_import.cmake:62

Post by mnfisher »

Try without the period ('.') - in the folder name.

This might be giving Windows / Make an issue?

Martin

HansJuergenHalder
Posts: 13
Joined: Sat Dec 12, 2020 12:32 am

Re: CMake Error at pico_sdk_import.cmake:62

Post by HansJuergenHalder »

Hello,

I fixed the issue by installing the Pico SDK in a different folder.

Unfortunately, the error message still appears.

chipfryer27
Valued Contributor
Posts: 1712
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 376 times
Been thanked: 590 times

Re: CMake Error at pico_sdk_import.cmake:62

Post by chipfryer27 »

Hi

Can you post your Flowcode file so we can have a look (.fcfx) ?

Regards

Post Reply