Skip to main content
Associate
January 10, 2025
Solved

Cannot build SPC5 Application

  • January 10, 2025
  • 1 reply
  • 541 views

I am getting the errors below when trying to build the project.

Due to reasons, we regenerate the project and now this project cannot be build ...

I have tried the solution at Solution 1 and Solution 2. I have check that i have the full access to the workspace folders and the error illustrated below are copy and pasted from SPC5 6.0.

 

(I prefer using 5.8.1 because it seems that opening up the project in 6.0 does import the correct low level driver setting correctly.)

(We don't backup the component folders because it appears it need to be regenerated each time it is imported on a new PC)

 

make -j6 all
Compiling boot.s
Compiling crt0.s
Compiling vectors.s
Compiling ivor.s
Assembler messages:
Fatal error: can't create build/obj/crt0.o: No such file or directory
Assembler messages:
Fatal error: can't create build/obj/boot.o: No such file or directory
Compiling spc5_lld.c
Assembler messages:
Fatal error: can't create build/obj/vectors.o: No such file or directory
make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:146: build/obj/crt0.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:146: build/obj/vectors.o] Error 1
make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:146: build/obj/boot.o] Error 1
Assembler messages:
Fatal error: can't create build/obj/ivor.o: No such file or directory
make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:146: build/obj/ivor.o] Error 1
Assembler messages:
Fatal error: can't create build/obj/spc5_lld.o: No such file or directory
make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:142: build/obj/spc5_lld.o] Error 1
"make -j6 all" terminated with exit code 2. Build might be incomplete.

17:57:32 Build Failed. 6 errors, 0 warnings. (took 567ms)

 

Best answer by Tim7

"Thanks for ST's support!"

It appears you make files cleans out the obj folder and the make file cannot create obj folder.

Just create the obj folder manually and it compiles.

 

Tim

 

1 reply

Tim7AuthorBest answer
Associate
January 21, 2025

"Thanks for ST's support!"

It appears you make files cleans out the obj folder and the make file cannot create obj folder.

Just create the obj folder manually and it compiles.

 

Tim