Skip to main content
FEspo.1
Associate
January 16, 2020
Solved

SPC5Studio How to build a project with linked resources?

  • January 16, 2020
  • 1 reply
  • 940 views

Hi,

I have several projects in SPC5Studio and I want to have common files shared by them, in order to modify these common files only once. So I'm trying to use linked files.

I have introduced a linked folder in my project by selecting:

New project/Advanced/Link to alternate location (Linked folder)/Browse

The folder is included as linked folder. The problem is that when I build the project I get an error, because common files are not found.

What am I doing wrong? Is this the right way to have common files shared by several projects in SPC5Studio?

Thank you in advance for your help.

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

    Hello Fespo ,

    I think that it is a eclipse question..

    Makefile should be updated.

    you should update user.mak makefile to access to your virtual folder.

    For common codes , in our development environment (git) , we are using some hooks or git submodules.

    it is working well

    Best Regards

    Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    January 28, 2020

    Hello Fespo ,

    I think that it is a eclipse question..

    Makefile should be updated.

    you should update user.mak makefile to access to your virtual folder.

    For common codes , in our development environment (git) , we are using some hooks or git submodules.

    it is working well

    Best Regards

    Erwan