I am trying to copy and import the http_client example for the Pico 2 W but have been unsuccessful. Unlike other examples the http_client example does not appear in the "New Project from Example" list, so instead I am trying to copy and import it from github without success.
Using VSCode and the Raspberry Pi Pico Project extension I am able to successfully:
- Import new projects from example, build and debug them
- Create new projects from scratch, build and debug them
However I am unable to Import projects from the https://github.com/raspberrypi/pico-examples repository. I tried: 1) copying the http_client directory and 2) in VSCode running Import Project from the Raspberry Pi Pico Project extension, but compilation fails with "ninja: error: loading 'build.ninja': The system cannot find the file specified."
It is pretty obvious some basic configuration steps are missing, however after reading the entire Getting Started and other Guides I cannot find how to do this.
So, how can I take an example from https://github.com/raspberrypi/pico-examples and copy it locally to import into VSCode to compile and run?
Thanks
Using VSCode and the Raspberry Pi Pico Project extension I am able to successfully:
- Import new projects from example, build and debug them
- Create new projects from scratch, build and debug them
However I am unable to Import projects from the https://github.com/raspberrypi/pico-examples repository. I tried: 1) copying the http_client directory and 2) in VSCode running Import Project from the Raspberry Pi Pico Project extension, but compilation fails with "ninja: error: loading 'build.ninja': The system cannot find the file specified."
It is pretty obvious some basic configuration steps are missing, however after reading the entire Getting Started and other Guides I cannot find how to do this.
So, how can I take an example from https://github.com/raspberrypi/pico-examples and copy it locally to import into VSCode to compile and run?
Thanks
Statistics: Posted by twfry — Tue Mar 18, 2025 9:36 pm