cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5studio Build Error

JHo.1
Associate

Hi there,

I am new to SPC5studio and SPC560P family. I recently tried to build my coworker's project but it got three errors

(lvalue required as left operand of assignment)

(make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:133: build/obj/swirq.o] Error 1)

It works just fine on my coworker's laptop and I cannot figure out what the difference is between me and my coworker's IDE settings. (I opened the project through Open Projects from File System. )

Then, I created a new project "SPI_test" and there is another error popped up. (make: *** [components/spc560pxx_platform_component_rla/lib/rsc/rules.mk:137: build/obj/main.o] Error 1)

Do I need to clean the generated files and rebuild? I cannot seem to solve the errors. I have scrolled through half of the community pages and did not find any answer.

Hope to hear some advice

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello jho ,

Sorry for my late asnwer

you need to solve just this error

lvalue required as left operand of assignment

i think "&=" is not correct.

others errors are just some CDT Preprocessing errors

CDT preprocessing should be updated (cf others posts)

Best Regards

Erwan

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee

Hello jho ,

Sorry for my late asnwer

you need to solve just this error

lvalue required as left operand of assignment

i think "&=" is not correct.

others errors are just some CDT Preprocessing errors

CDT preprocessing should be updated (cf others posts)

Best Regards

Erwan