Unable to build examples for Raspberry Pi Pico target #1132
-
|
I've been trying to build the example projects for the Raspberry Pi Pico board target, but it seems that the documentation is missing something, because none of the examples will build. I was able to successfully build for other targets, such as the example in the documentation of building the cdc_msc device example for the feather_nrf52840_express board target, but when I try to build it for the raspberry_pi_pico board target, here's what I get: I've installed all of the toolchain dependencies listed in the Raspberry Pi Pico's getting started docs, but it seems like there's just something missing here. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Not sure exactly where the problem is from the CMake logs. Maybe you can share your full CMakeLists.txt? I have also attached my CMakeLists.txt which works for m |
Beta Was this translation helpful? Give feedback.
-
|
It's not from any specific directory. I just made that CMakeLists.txt for a standalone project. |
Beta Was this translation helpful? Give feedback.
-
|
can you provide your PC setup, your OS, toolchain etc.. Can you compile any of other official examples from rpi i.e pico-examples or pico-sdk ? |
Beta Was this translation helpful? Give feedback.
-
|
Looks to be a PEBKAC error. I nuked my build environment and reinstalled everything using the raspberry pi pico docs and it works now. I think my mistake was trying to make directly without first creating a build directory for cmake. In any case, works now... |
Beta Was this translation helpful? Give feedback.
Looks to be a PEBKAC error. I nuked my build environment and reinstalled everything using the raspberry pi pico docs and it works now. I think my mistake was trying to make directly without first creating a build directory for cmake. In any case, works now...