Quantcast
Viewing all articles
Browse latest Browse all 4899

SDK • picotool 2.0.0 is installed, cmake says it can't find it

I built picotool 2.0.0 and installed it with sudo make install.

Code:

$ which picotool /usr/local/bin/picotool$ picotool versionpicotool v2.0.0 (Linux, GNU-10.2.1, Release)
Now in my first-ever attempt to build pico-sdk version 2.0.0, cmake output says that a suitable version of picotool can't be found:

Code:

# in pico-sdk$ rm -rf build$ mkdir build$ cd build$ cmake ..[...]CMake Warning at tools/Findpicotool.cmake:28 (message):  No installed picotool with version 2.0.0 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):  tools/CMakeLists.txt:138 (find_package)  src/cmake/on_device.cmake:33 (pico_init_picotool)  src/rp2040/boot_stage2/CMakeLists.txt:57 (pico_add_dis_output)  src/rp2040/boot_stage2/CMakeLists.txt:101 (pico_define_boot_stage2)Downloading Picotool[...]
I don't want picotool to be built every time, I want to use the installed version. What have I done wrong?

This is on Pios buster:

Code:

$ uname -aLinux himbeere 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

Statistics: Posted by slimhazard — Wed Aug 21, 2024 4:21 pm



Viewing all articles
Browse latest Browse all 4899

Trending Articles