Skip to main content
barmy
Associate II
January 22, 2020
Question

getting error - program "gcc" not found in the path

  • January 22, 2020
  • 2 replies
  • 3601 views

0690X00000BwKYmQAN.pngI am trying to execute ping pong experiment with B-L072Z-LRWAN1 discovery kit using STM32CubeIDE. I have used the codes which are available on stm32 website along with firmware . After bringing the project file in IDE problem window is showing error-

program "gcc" not found in the path.

also on building , consoles shows no error but the previous problem persist.

On debugging the process terminates with message - binaries not found

also there is no binaries file created in project explore window.

I have tried this code with other IDE (like True studio, eclipse ) but getting same error.

please suggest why this is happening and how to rectify that.

Thanks

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 22, 2020

Your PATH environment variable doesn't adequately describe where your compiler is installed. Perhaps also consider that it needs to be the ARM EABI compiler not the native x86 tools.

A simpler route might be to use the Keil tools with the ST CM0 license.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
dbgarasiya
Senior
January 25, 2020

Window -> Preferences -> C/C++ -> Build-> Environment

set as defaults may solved out problem in such case