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

SDK • picotool in the Pico C/C++ Build Environment

$
0
0
I have used the pico_setup.sh script (day before yesterday) to set up the C/C++ build environment on a Pi 400. All is well, with one exception, though the exception does not break the build.

When I execute 'cmake ..' from the build directory, among many other messages is "No installed picotool with version 2.1.0 found - building from source" When I execute 'picotool version' I get "picotool v2.1.0 (Linux, GNU-12.2.0, Release)" Clearly the setup script installed picotool, but cmake is not able to find it.

CMake sets things up to build picotool from source. picotool is successfully built in the make process, and the compiled programs execute successfully on the pico. But the process of building picotool adds significatly to the build process, and should be unnecessary (if I understand correctly) since picotool was built by the pico_setup.sh script, and should be available if only CMake looks it the right place.

Statistics: Posted by picopirate — Sat Feb 08, 2025 8:15 pm — Replies 1 — Views 47



Viewing all articles
Browse latest Browse all 4417

Trending Articles