cancel
Showing results for 
Search instead for 
Did you mean: 

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

barmy
Associate II

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

2 REPLIES 2

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
dbgarasiya
Senior II

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

set as defaults may solved out problem in such case