CCS5.2工程编译问题

2019-03-26 15:35发布

我使用TMS320C6678芯片
CCS5.2编译器
编译TI提供的例程
出现下面的编译信息
编译通不过

**** Build of configuration Debug for project I2C ****
C: iccsv5utilsingmake -k all
'Building file: ../src/I2C_EEPROM_Test.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/common" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/I2C/src" --include_path="C:/ti/mcsdk_2_01_02_05/tools/post/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --big_endian --abi=eabi --preproc_with_compile --preproc_dependency="src/I2C_EEPROM_Test.pp" --obj_directory="src"  "../src/I2C_EEPROM_Test.c"
"C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl/cslr_i2c.h", line 44: fatal error #5: could not open source file "ti/csl/cslr.h"
1 fatal error detected in the compilation of "../src/I2C_EEPROM_Test.c".
Compilation terminated.
>> Compilation failure
gmake: *** [src/I2C_EEPROM_Test.obj] Error 1
'Building file: ../src/I2C_EEPROM_drv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/common" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/I2C/src" --include_path="C:/ti/mcsdk_2_01_02_05/tools/post/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --big_endian --abi=eabi --preproc_with_compile --preproc_dependency="src/I2C_EEPROM_drv.pp" --obj_directory="src"  "../src/I2C_EEPROM_drv.c"
"C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl/cslr_xmc.h", line 50: fatal error #5: could not open source file "ti/csl/cslr.h"
1 fatal error detected in the compilation of "../src/I2C_EEPROM_drv.c".
Compilation terminated.
>> Compilation failure
gmake: *** [src/I2C_EEPROM_drv.obj] Error 1
'Building file: ../src/I2C_Temp_Sensor_drv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/common" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/I2C/src" --include_path="C:/ti/mcsdk_2_01_02_05/tools/post/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --big_endian --abi=eabi --preproc_with_compile --preproc_dependency="src/I2C_Temp_Sensor_drv.pp" --obj_directory="src"  "../src/I2C_Temp_Sensor_drv.c"
"C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl/cslr_xmc.h", line 50: fatal error #5: could not open source file "ti/csl/cslr.h"
1 fatal error detected in the compilation of "../src/I2C_Temp_Sensor_drv.c".
Compilation terminated.
>> Compilation failure
gmake: *** [src/I2C_Temp_Sensor_drv.obj] Error 1
'Building file: ../src/I2C_main.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/common" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/I2C/src" --include_path="C:/ti/mcsdk_2_01_02_05/tools/post/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --big_endian --abi=eabi --preproc_with_compile --preproc_dependency="src/I2C_main.pp" --obj_directory="src"  "../src/I2C_main.c"
"C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl/csl_bootcfgAux.h", line 45: fatal error #5: could not open source file "ti/csl/csl_bootcfg.h"
1 fatal error detected in the compilation of "../src/I2C_main.c".
Compilation terminated.
>> Compilation failure
gmake: *** [src/I2C_main.obj] Error 1
'Building file: ../src/KeyStone_common.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/common" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/I2C/src" --include_path="C:/ti/mcsdk_2_01_02_05/tools/post/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --big_endian --abi=eabi --preproc_with_compile --preproc_dependency="src/KeyStone_common.pp" --obj_directory="src"  "../src/KeyStone_common.c"
"C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl/csl_bootcfgAux.h", line 45: fatal error #5: could not open source file "ti/csl/csl_bootcfg.h"
>> Compilation failure
1 fatal error detected in the compilation of "../src/KeyStone_common.c".
Compilation terminated.
gmake: *** [src/KeyStone_common.obj] Error 1
'Building file: ../src/Keystone_I2C_init_drv.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/common" --include_path="F:/6678_Disc/Example/Keystone_5F00_I2C/Keystone_I2C/I2C/src" --include_path="C:/ti/mcsdk_2_01_02_05/tools/post/include" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --big_endian --abi=eabi --preproc_with_compile --preproc_dependency="src/Keystone_I2C_init_drv.pp" --obj_directory="src"  "../src/Keystone_I2C_init_drv.c"
"C:/ti/pdk_C6678_1_1_2_5/packages/ti/csl/cslr_xmc.h", line 50: fatal error #5: could not open source file "ti/csl/cslr.h"
>> Compilation failure
1 fatal error detected in the compilation of "../src/Keystone_I2C_init_drv.c".
Compilation terminated.
gmake: *** [src/Keystone_I2C_init_drv.obj] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
明明我设置了cslr.h的路径
可是还是提示打不开该文件
怎么回事呢?
此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
1条回答
sun_changdong
1楼-- · 2019-03-26 21:24
< 谁能给解答一下?
谢谢!

一周热门 更多>