我在调试的时候,出现了这个错误,我指定了头文件的位置:C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\csl\ 。头文件里面有相应的文件,但是,却出现这个错误。这是为什么呢?
**** Build of configuration Debug for project 123 ****
D:\CCS5.0\ccsv5\utils\gmake\gmake -k all'Building file: ../src/MNav_Init.c'
'Invoking: C6000 Compiler'
"D:/CCS5.0/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g –include_path="D:/CCS5.0/ccsv5/tools/compiler/c6000/include" –include_path="C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\drv\qmss\firmware" –include_path="C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\csl" –diag_warning=225 –abi=eabi –preproc_with_compile –preproc_dependency="src/MNav_Init.pp" –obj_directory="src" "../src/MNav_Init.c"
"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\csl\cslr_device.h", line 37: fatal error: could not open source file "ti/csl/cslr.h"
Thomas Yang1:
你好
请修改路径名为“C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages”,试一下
谢谢!