# Ghs toolchain not found

**URL:** <https://forums.freertos.org/t/ghs-toolchain-not-found/15796>\
**Category:** Kernel\
**Created:** [September 11, 2022, 2:34am UTC](https://forums.freertos.org/t/ghs-toolchain-not-found/15796 "2022-09-11T02:34:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tigadad](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/tigadad/32/2841_2.png) [@tigadad](https://forums.freertos.org/u/tigadad)\
**Post date:** [September 11, 2022, 2:34am UTC](https://forums.freertos.org/t/ghs-toolchain-not-found/15796/1 "2022-09-11T02:34:23Z")

</div>

I am trying to compile the freertos blinky example for the Raspberry Pi Pico but I get an error that the GHS toolchain cannot be found. I have followed a number of tutorials and cannot see where I went wrong. I am also confused because the GHS toolchain seems to be a proprietary licensed product.

Help please …

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 11, 2022, 9:36pm UTC](https://forums.freertos.org/t/ghs-toolchain-not-found/15796/2 "2022-09-11T21:36:18Z")

</div>

Grateful if you can provide a link to where you obtained the code. Our demo uses the development setup documented in the Pico’s official getting started guide, which uses GCC.

---

<div class="post-metadata">

**Author:** ![tigadad](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/tigadad/32/2841_2.png) [@tigadad](https://forums.freertos.org/u/tigadad)\
**Post date:** [September 11, 2022, 10:42pm UTC](https://forums.freertos.org/t/ghs-toolchain-not-found/15796/3 "2022-09-11T22:42:19Z")

</div>

Thanks Richard,

I started by following the Raspberry Pico instructions to build “Blinky” which worked fine. I installed cmake using the sudo apt install cmake. I am using Lubuntu 22.04.01 LTS.

“hypertext transport protocol s://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf”

I then created a new directory structure following the guidelines at  
“hypertext transport protocol s://learnembeddedsystems.co.uk/freertos-on-rp2040-boards-pi-pico-etc-using-vscode”.

I referenced my previously downloaded pico-sdk.

I didn’t see any reference anywhere to install ghs\_toolchain.

I installed all this in a clean Gnome Boxes VM.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 12, 2022, 3:41pm UTC](https://forums.freertos.org/t/ghs-toolchain-not-found/15796/4 "2022-09-12T15:41:51Z")

</div>

If you have problems using using build files and instructions from [learnembeddedsystems.co.uk](http://learnembeddedsystems.co.uk), then I would suggest asking on their forums, rather than here. I doubt anybody here will even have looked at them. If you have a problem building [the demos we provide](https://www.freertos.org/smp-demos-for-the-raspberry-pi-pico-board.html) then feel free to create a new thread here.
