Skip to main content
JHo.1
Associate
May 11, 2021
Solved

SPC5studio Build Error

  • May 11, 2021
  • 1 reply
  • 2310 views

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

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    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

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    June 2, 2021

    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