cancel
Showing results for 
Search instead for 
Did you mean: 

Please help with "GCC not found in PATH" error for STMCubeIDE 1.3.0

AMaha.2
Associate II

I am getting GCC not found in PATH error. I have been struggling with this error quite a few days now trying to resolve.

Attached screenshot of the error0693W000000VhmAQAS.jpg

I have following paths added by default to the PATH environement variable.

0693W000000VhmZQAS.jpg

I appreciate the help with it.

Thank you,

3 REPLIES 3
Pavel A.
Evangelist III

> I have following paths added by default to the PATH environement variable.

PATH in Windows must contain only back slashes. Many apps and libraries (C, Java etc) understand and automatically convert / to \ but not in this case.

-- pa

KnarfB
Principal III

The STM32 MCU compiler is arm-none-eabi-gcc.exe, there is no need for gcc. There is no need to manually add items to the PATH.

It is all handled internally by the IDE. Are you sure that you have created the correct project type (File > New > STM32 Project)? What is the console output leading to the error shown?

Javier1
Principal

same error for me, im trying to make a raspberry to automatically build code when pushed to my repo.

 

im setting up cubeMX as follows:

Javier1_0-1702417530844.png

 

if i run make in my local ubuntu virtual machine i get

Javier1_1-1702417584945.png

 

the same if i run make in my raspberry

Javier1_2-1702417626630.png

 

 

 

edit:
okay it was as easy as :

 

sudo apt-get install gcc-arm-none-eabi

 

 

the toolchain was not installed :D
now i have different errors, i can feel the progress

 

 

 



we dont need to firmware by ourselves, lets talk