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.

Fatal error: could not open source file "Files"

Guru 15580 points

Other Parts Discussed in Thread: OMAP-L138

Can someone help me with this cryptic error message?

"Fatal error: could not open source file "Files"

Below is the complete console output.

=======================================================

**** Build of configuration Debug for project audio_sample ****

 

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all

'Building file: audioSamplecfg.s62'

'Invoking: Compiler'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/TI3/REL_EDMA3_LLD_BIOS5_01_11_00_03/packages" --include_path=""C:/Program Files (x86)/Texas Instruments/C6748_dsp_1_00_11/pspdrivers_01_30_01/packages" --include_path="C:/Users/Mike/TI Workspaces/OMAP-L138/audio_sample/Debug" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/bios/include" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="audioSamplecfg.pp" "audioSamplecfg.s62"

[Files.]

Fatal error: could not open source file "Files"

1 fatal error detected in the compilation of "Files".

Compilation terminated.

 

>> Compilation failure

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: *** [audioSamplecfg.obj] Error 1

'Building file: audioSamplecfg_c.c'

'Invoking: Compiler'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/TI3/REL_EDMA3_LLD_BIOS5_01_11_00_03/packages" --include_path=""C:/Program Files (x86)/Texas Instruments/C6748_dsp_1_00_11/pspdrivers_01_30_01/packages" --include_path="C:/Users/Mike/TI Workspaces/OMAP-L138/audio_sample/Debug" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/bios/include" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="audioSamplecfg_c.pp" "audioSamplecfg_c.c"

[Files.]

Fatal error: could not open source file "Files"

1 fatal error detected in the compilation of "Files".

Compilation terminated.

 

>> Compilation failure

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: *** [audioSamplecfg_c.obj] Error 1

'Building file: ../audioSample_io.c'

'Invoking: Compiler'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/TI3/REL_EDMA3_LLD_BIOS5_01_11_00_03/packages" --include_path=""C:/Program Files (x86)/Texas Instruments/C6748_dsp_1_00_11/pspdrivers_01_30_01/packages" --include_path="C:/Users/Mike/TI Workspaces/OMAP-L138/audio_sample/Debug" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/bios/include" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="audioSample_io.pp" "../audioSample_io.c"

[Files.]

Fatal error: could not open source file "Files"

1 fatal error detected in the compilation of "Files".

Compilation terminated.

 

>> Compilation failure

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: *** [audioSample_io.obj] Error 1

'Building file: ../audioSample_main.c'

'Invoking: Compiler'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/TI3/REL_EDMA3_LLD_BIOS5_01_11_00_03/packages" --include_path=""C:/Program Files (x86)/Texas Instruments/C6748_dsp_1_00_11/pspdrivers_01_30_01/packages" --include_path="C:/Users/Mike/TI Workspaces/OMAP-L138/audio_sample/Debug" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/bios/include" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="audioSample_main.pp" "../audioSample_main.c"

[Files.]

Fatal error: could not open source file "Files"

1 fatal error detected in the compilation of "Files".

Compilation terminated.

 

>> Compilation failure

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: *** [audioSample_main.obj] Error 1

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

Build complete for project audio_sample

  • Mike,

    The issue is that one of the include paths has a double quote at the beginning: --include_path=""  I bolded the offending statement below.  Can you check your build options and see if it has an extra " specified?

     

    "C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6740 -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/TI3/REL_EDMA3_LLD_BIOS5_01_11_00_03/packages" --include_path=""C:/Program Files (x86)/Texas Instruments/C6748_dsp_1_00_11/pspdrivers_01_30_01/packages" --include_path="C:/Users/Mike/TI Workspaces/OMAP-L138/audio_sample/Debug" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/bios/include" --include_path="C:/Program Files (x86)/Texas Instruments/bios_5_41_07_24/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="audioSample_io.pp" "../audioSample_io.c"

     

    Regards,

    John

  • John,

    That was indeed the problem. Here's how it was created. I edited an inlcude path by deleting the last part of the path string. The portion I deleted included the right-hand quotation mark. I then hit apply. CCS then re-added BOTH left-hand AND righ-hand quotaton marks to my edited string.

    I suggest you parse the string before blindly adding new quotation marks to begining and end.

    Thx

    MikeH

     

  • If CCS hadn't added the quotes you would have still gotten a strange error as there would have been a quote at the beginning and not the end.  So the parser will need to be smart enough to look at both ends to look for problems.  I can file a request for that.

    John