SDK path issues

March 21, 2024, 01:29

magnet04

Hello I recently started working with Pico's and decided to tackle learning C. I bought a pi5 and installed everything. However my install location is not the same as in the tutorial. I have adjusted it in the bashrc file as in the uploaded img and rebooted. However when I press build through vscode it gives an error and links to the wrong path.(Second pic) Did I forget something? Kind regards

nick2116.

well, does /home/pi/pico/pico-sdk exist

nick2116.

to begin with

magnet04

No

magnet04

Vscode takes that as SDK path however in my bash file it is written differently

magnet04

When I export in a terminal it's the same error

nick2116.

what if you find and replace that string with the target directory

nick2116.

everywhere

nick2116.

using the f&r tool

magnet04

Well I can trace back and like change the if clause to set to the proper path

nick2116.

for reference I have no idea what the hell is causing it

magnet04

But that doesn't teach me why it's taking the wrong path

magnet04



magnet04

Why does it take the wrong directory?!?