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.

Linking Errors

I am having troubles with Code compose v5.4.0.

When I try to compile my code I am getting the following error messages:

>Fatal error #5: could not open source file "../interrupt_csl.c"

>1 fatal error detected in the compilation of "../interrupt_csl.c".

>Compilation failure

> Compilation terminated.

> gmake: *** [interrupt_csl.obj] Error 1

It seems to be some type of linking error. I know for a fact that I included the path to that file, because I am able to compile the same project on another computer without errors, and I checked "Linked Resources" as well as "Include Options" and they are the same on both projects on both computers..

I then tried to right-click my non-compiling project in the "Project Explorer" and chose "Add Files..." and selected the file "interrupt_csl.c", and regardless if I chose the option "Copy files" or "Link to files" I am given the error message: "Could not add: interrupt_csl.c" without any further explination.

This is a new problem. In the past I have been able to compile projects without any problem. It is just this week that all of the sudden I am getting these strange errors. I tried compiling several different projects that have worked in the past, and with all of them I am getting error of the compiler being unable to open source files (the exact source file that gives the error will change from project to project).

Is there a known fix for this issue? Thanks in advance.

  • Hi,

    This issue seems to be compilation error that source file couldn't find.

    Is this your own code or TI examples ?

    If it is TI examples, just you want to import and can compile directly without any errors since it came with all the project settings.

    If it is yours , you have to set all the include path and source file path & libraries for linking.

    Are you able to open the "interrupt_csl.c" file in CCS through project explorer ?

    It seems to be some type of linking error. I know for a fact that I included the path to that file, because I am able to compile the same project on another computer without errors, and I checked "Linked Resources" as well as "Include Options" and they are the same on both projects on both computers..

    Please check and compare the project and include & source files environment  on working machine.