Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5229

SDK • Re: pico_sdk_import.cmake question

$
0
0
I'm not sure I understand your question. Yes, there are spaces in the path. What I posted is a copy and paste from the Windows command prompt.
I just mean when in Windows when you went to Advanced System Settings > System Properties > Environmental variables > System variables > new

That you put your path in double quotes. It will be necessary when using a path with spaces else cmake can't parse it correctly.

It should be exactly

Code:

set PICO_SDK_PATH="C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\pico-sdk"
Otherwise you would need to modify the cmake file and add quotes there, but this makes more sense.

Statistics: Posted by breaker — Wed Mar 06, 2024 2:22 pm



Viewing all articles
Browse latest Browse all 5229

Trending Articles