-
Notifications
You must be signed in to change notification settings - Fork 48
Error during configuration phase of SDK 2.0.0 - cmake version error #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Fixed by #43 - CMake 3.17 is only required when you haven't built & installed picotool separately |
Not that it really matters now, but FYI Raspberry Pi OS Bookworm currently includes |
My approach had been - on an existing system - to use pico-setup to install the full tree each time a new SDK was released; first, moving the existing tree out of the way to a different named folder. In this way, the system looked "fresh" each install. But as it was being done on an existing machine, it was using the OS and tools installed at the time of setup (which was 2021). If the SDK requires a minimum version number on its tools (cmake, operating system, or other), this should be documented for users (documentation stated cmake 3.13 was minimum needed). |
I guess that approach doesn't produce an entirely fresh system, as https://github.com/raspberrypi/pico-setup/blob/master/pico_setup.sh#L65 and https://github.com/raspberrypi/pico-setup/blob/master/pico_setup.sh#L99 and https://github.com/raspberrypi/pico-setup/blob/master/pico_setup.sh#L144 are modifying files outside of the
FYI we expect to be releasing Raspberry Pi OS Trixie later this year, at which point anything older than Raspberry Pi OS Bookworm will be unsupported. |
See issue #38 for an earlier issue during my install which does not appear to be related - this issue happens after restarting and getting past that error.
The tool appears to be reporting that I need CMake 3.17 (see bottom for more detailed output).
However, the pico-sdk README.md states a minimum level of CMake 3.13 is required (and there is no README.md for pico-setup to indicate any minimum requirements) - so at the very least, the documentation of each of the pieces should be updated to reflect actual requirements.
Under the assumption that I just needed to upgrad to 3.17, I tried to upgrade... however, I am not able to obtain a version more recent than CMake 3.16.3 (which I have installed):
For context, I am using a Raspberry Pi 400, and 'uname -a' outputs the following:
Here is the output from the install script which indicates the CMake dependency:
The text was updated successfully, but these errors were encountered: