This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linked files/folers are disappeared when using command line build

CCS v5.4, CGT v6.1.6

Some folders/files are linked to the project and they are not in the location of project file . When I built the project using command line, the linked files are not found and give an error "some symbols are not defined". Then I check this project in CCS GUI, the linked files are disppeared. 

I must delete the project from workspace then re-import it to workspace. Issue solved.

So the question is: is it necessary to exit the CCS GUI during command line build process(I supposed there may be access conflict of project files)? or it doesn't matter. Why the linked file disappeared?

  • Hello,

    andriy qin said:
    So the question is: is it necessary to exit the CCS GUI during command line build process(I supposed there may be access conflict of project files)? or it doesn't matter. Why the linked file disappeared?

    It should not matter. Building using the CCS command-line project utility should behave the same as building from the GUI. If it works in the GUI, it should work from the command-line. You don't have to close CCS either.


    Can you provide a small test case so we can investigate further?

    Thanks

    ki

  •  The cause seems to be I changed the project name. In command line build, it can not recognize the project name with character ' '(space). So I rename the project from ' ' to '_' in ccs GUI. After I do that, the 'Path Variables' appear one new path named 'OLDPATHNAME_1'(if the path variabled I defined is named 'OLDPATHNAME'). And all linked folders/files are pointed to 'OLDPATHNAME_1'.
    Does the "rename project" has some issue?

  • You can easily reproduce this issue by creating a new project: its name contains space character, then link some files to that project. After that, you can rename the project. You can find the Path Variable has one more variable generated automatically and linked file are linked to that path.