cancel
Showing results for 
Search instead for 
Did you mean: 

I generated a simple project with STM32CubeMX When I compile that project I get: make: *** [Src/subdir.mk:27: Src/main.o] Error 3 "make all" terminated with exit code 2. Build might be incomplete.

DNeet.1
Associate II

I have the foll. settings:

Properties...C/C++ Build...Tool Chain Editor...Current toolchain: Cross GCC

Properties...C/C++ Build...Environment...PATH: C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_1.1.0.201910081157\tools\bin

3 REPLIES 3
TDK
Guru

Should be an error before that telling you why the build failed.

If you feel a post has answered your question, please click "Accept as Solution".
DNeet.1
Associate II

21:18:19 **** Incremental Build of configuration Debug for project Lab1 ****

make all

make (e=3): Das System kann den angegebenen Pfad nicht finden.

make: *** [Src/subdir.mk:27: Src/main.o] Error 3

"make all" terminated with exit code 2. Build might be incomplete.

PKVSK.1
Associate

Request comments on the Error below:

Error-

make: *** [Middlewares/Third_Party/SEGGER/SEGGER/Syscalls/subdir.mk:25: Middlewares/Third_Party/SEGGER/SEGGER/Syscalls/SEGGER_RTT_Syscalls_IAR.o] Error 1