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

SDK • New errors after rubbish install of C-SDK

$
0
0
Hi all,
I had been using a fully functioning C-SDK environment, but then did a full install of Bullseye on my RPi 3B+, so started over with a fresh install of the C-SDK. I ran pico_setup.sh:

Code:

wget https://raw.githubusercontent.com/raspberrypi/pico-setup/master/pico_setup.shchmod +x pico_setup.sh./pico_setup.sh
It ran to the point of building things, but then seemed to run out of memory and freeze (I have the habit of keeping Task Manager running at all time so I can see if I'm nearing the end of the 1 GB available on my RPi 3B+). I gave it a half hour to get itself right, which never happened. I tried to ssh into it, but that did not work. I power cycled it and looked for the usual files, which all seemed to be there, as did the environment variables, so I assume the main bit of the install succeeded.

I ran cmake from the build directory of an existing project. That attempt produced the following errors:

Code:

CMake Error at /home/pi/pico/pico-sdk/src/rp2_common/pico_status_led/CMakeLists.txt:22 (get_target_property):  INTERFACE_LIBRARY targets may only have whitelisted properties.  The  property "LINK_LIBRARIES" is not allowed.Using PICO_EXAMPLES_PATH from environment ('/home/pi/pico/pico-examples')CMake Warning at /home/pi/pico/pico-sdk/tools/Findpicotool.cmake:30 (message):  No installed picotool with version 2.1.1 found - building from source  It is recommended to build and install picotool separately, or to set  PICOTOOL_FETCH_FROM_GIT_PATH to a common directory for all your SDK  projectsCall Stack (most recent call first):  /home/pi/pico/pico-sdk/tools/CMakeLists.txt:168 (find_package)  /home/pi/pico/pico-sdk/tools/CMakeLists.txt:688 (pico_init_picotool)  /home/pi/pico/pico-sdk/src/cmake/on_device.cmake:81 (picotool_postprocess_binary)  CMakeLists.txt:70 (pico_add_extra_outputs)
Here's line 22 of pico/pico-sdk/src/rp2_common/pico_status_led/CMakeLists.txt:

Code:

get_target_property(OUT pico_status_led LINK_LIBRARIES)
Is the install rubbish? I ran pico_setup.sh again, get farther, but get these errors:

Code:

CMake Error at /home/pi/pico/pico-sdk/src/rp2_common/pico_status_led/CMakeLists.txt:22 (get_target_property):  INTERFACE_LIBRARY targets may only have whitelisted properties.  The  property "LINK_LIBRARIES" is not allowed.
Same error as when I tried to build my own project. I seem stuck at this point.

Statistics: Posted by OAvKart — Tue Aug 26, 2025 12:26 am



Viewing all articles
Browse latest Browse all 8093

Trending Articles