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 6 "cannot open source file" which is already included in compiler/linker file paths

Other Parts Discussed in Thread: MSP430F5529, CC1120

Hello, 

  I have a problem with a single file I need to include although other files seem to be included fine. My compile path includes the "components" folder. Can't build due to fatal error #1965: cannot open source file

file with problem: ".../components/targets/EXP430F5529/hal_spi_rf_F5529.h" which is #include in main file

similar file with no problem: ".../components/bsp/EXP430F5529/bsp.h" also is #include in main file

I am using CC1120 Easy link software example with a lot of modifications and MSP430F5529 LP. Below are screenshots of settings and console output. Any help is appreciated. Thanks!

-----------------------------


**** Build of configuration RX-CC1120 for project SimpleLink Ex ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../cc112x_easy_link_rx.c'
'Invoking: MSP430 Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_15.12.1.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/CC1120_software_ex/source/components" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_15.12.1.LTS/include" --advice:power=all -g --define=__MSP430F5529__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="cc112x_easy_link_rx.d" "../cc112x_easy_link_rx.c"

>> Compilation failure
subdir_rules.mk:7: recipe for target 'cc112x_easy_link_rx.obj' failed
"../cc112x_easy_link_rx.c", line 53: fatal error #1965: cannot open source file "/targets/EXP430F5529/hal_spi_rf_F5529.h"
1 catastrophic error detected in the compilation of "../cc112x_easy_link_rx.c".
Compilation terminated.
gmake: *** [cc112x_easy_link_rx.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****