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.

CCS: Code Composer build project



Tool/software: Code Composer Studio

hi , i am suffering with CCS

when i  import my project file to the CCS and after running the file the compilation failure   ,  and this error messages show:  ../main.c", line 9: fatal error #1965: cannot open source file "PS_bios.h" 

however i have already the  PS_bios.h file inside my main project file  , but the  red x sign appear on the  ifle "PS_bios.h" line code .

thanks 

  • Please check the include search paths for your project.  The project location is likely not included in the search path.  The locations of header files need to be part of the search path.

    You can modify your search paths by going to the properties for the project here:

    In this case the root folder of the project is not listed in the search path.  I can add it by clicking on the green +.  I then click the workspace button and then select my project from the list.  Afterwards my search path will have this entry:

    I did it this way instead of using an absolute path to the project location so that the project is more portable.

    Regards,

    John