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使用CSL库的编译错误

你好,我在使用C6701的GPIO时调用了CSL库,编译的时候出现这些错误和警告:

[hello5.c] "C:\CCSv3.3\C6000\cgtools\bin\cl6x" -g -pdsw225 -fr"C:/Users/Administrator/Desktop/hello5-fuben/Debug" -d"CHIP_6701" -mv6700 -@"Debug.lkf" "hello5.c"
"hello5.c", line 9: error: identifier "GPIO_Handle" is undefined
"hello5.c", line 23: warning: function declared implicitly
"hello5.c", line 23: error: identifier "GPIO_DEV0" is undefined
"hello5.c", line 23: error: identifier "GPIO_OPEN_RESET" is undefined
"hello5.c", line 24: warning: function declared implicitly
"hello5.c", line 25: warning: function declared implicitly
"hello5.c", line 25: error: identifier "GPIO_PIN3" is undefined
"hello5.c", line 26: warning: function declared implicitly
"hello5.c", line 26: error: identifier "GPIO_OUTPUT" is undefined
"hello5.c", line 27: warning: function declared implicitly
"hello5.c", line 82: warning: function declared implicitly
"hello5.c", line 82: error: identifier "GPIO_PIN3" is undefined

检查了一下,工程目录下库csl6701.lib已添加,c文件也加了头文件,这些错误是什么引起的呢?望赐教!谢谢!