Skip to main content
Associate
June 22, 2024
Question

Causes of errors that appear irregularly when building a project

  • June 22, 2024
  • 7 replies
  • 3189 views

Hi,everyone!
When I build a project, I get the errors "c:/st/stm32cubeide_1.15.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.300.202402091052/tools/bin/sh: arm-none-eabi-gcc: not found" and "make: *** [Drivers/STM32F7xx_HAL_Driver/Src/subdir.mk:73: Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_XXX.o] Error 127"(XXX is the name of the file.) in the CDT Build Console for no apparent reason.
The number of these errors changes each time I build, making it difficult to identify the cause of this problem. No matter how many searches I did, I could not find anything, and when I checked with my colleagues, no one was aware of these errors. Can someone please help me with my biggest question.スクリーンショット 2024-06-22 135756.png

This topic has been closed for replies.

7 replies

AScha.3
Super User
June 22, 2024

Hi,

is this your first project ?

Did you make already working projects ?

Did you "generate code" ?

If you feel a post has answered your question, please click on " Best Answer ".
lamzawaAuthor
Associate
June 22, 2024

First of all, thank you for replying.
Q1. is this your first project ?

A1. No,I am on a team that builds robots and we are writing a new code for the next competition.

Q2. Did you make already working projects ?

A2. Yes,I have written code for several robots and they actually work.

Q3. Did you "generate code" ?

A3. Of course!
These errors occur during the process of generating code and writing the program.
A program that worked 5 minutes ago may suddenly get this error.

AScha.3
Super User
June 22, 2024

Hmmm...

error: xxx.o not found , so compiler output file not existing or deleted.

A: still much free space on drive/partition ? 

B: "someone else" delete the files - antivirus/firewall etc active ?

C: if you open other, old project and (re-)compile - does this work without errors ?

If you feel a post has answered your question, please click on " Best Answer ".
Tesla DeLorean
Guru
June 23, 2024

Probably the multi-threading  -j  option, things didn't complete, parts left unbuilt.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
lamzawaAuthor
Associate
June 24, 2024

Can you please tell me what is  "the multi-threading  -j  option" ?