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

SDK • fatal error: pico/stdlib.h: No such file or directory

$
0
0
Hello,

This has been driving me crazy. Freshly installed pico SDK on a freshly installed Debian 11 (Raspberry OS) on a RPI3. Trying to compile a simple blink program that sends text out of the USB serial port.

I followed installation instructions on the https://github.com/raspberrypi/pico-sdk to the letter. Made sure to do "export PICO_SDK_PATH=/home/MY-USERNAME/pico-sdk". Made sure to do "sudo git submodule update --init" and copied the pico_sdk_import.cmake file into my project folder. "CMAKE .." works fine, but when trying to make the project it acts like it can't find stdlib.h.

I attached a screenshot of the error along with a zip of my project if that helps.

Tried googling this problem, nothing pointing to a solution :-(
scr.jpg
blink_led.7z

Statistics: Posted by SomeGuy314 — Mon Mar 04, 2024 7:55 pm — Replies 0 — Views 15



Viewing all articles
Browse latest Browse all 4417

Trending Articles