raspberrypi / pico-setup

92 stars 42 forks source link

Setup fails if pkg-config is not installed #15

Closed TheStaticTurtle closed 3 years ago

TheStaticTurtle commented 3 years ago

Picosetup fails to build picotool (and maybe other things) if pkg-config is not installed. It causes libusb to not be found. Fix is just to apt install it:

Environment: 64bit Ubuntu 20.04 in a lxc container

aallan commented 3 years ago

Environment: 64bit Ubuntu 20.04 in a lxc container

The script was written assuming that it's being run on a Raspberry Pi and the latest version of Raspberry Pi OS, running on other platforms it warns you that "Not running on a Raspberry Pi. Use at your own risk!"

We don't intend to support other platforms at this time.