CCSv7中添加CSL 库报错,cannot find -lti.csl.aa9fg

CCSv7打印信息如下:

**** Build of configuration Release for project LED ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
'Building target: LED.out'
'Invoking: GNU Linker'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -Dam4379 -DSOC_AM437x -DAM43XX_FAMILY_BUILD -O2 -Wall -specs="nosys.specs" -mfloat-abi=hard -Wl,-Map,"LED.map" -L"C:/ti/pdk_am437x_1_0_4/packages/ti/starterware/binary/soc/lib/am43xx-evm/a9/release/gcc" -L"C:/ti/pdk_am437x_1_0_4/packages/ti/csl/lib/am437x/a9/release" -L"C:/ti/pdk_am437x_1_0_4/packages/ti/starterware/binary/board/lib/am43xx-evm/a9/release/gcc" -L"C:/ti/pdk_am437x_1_0_4/packages/ti/starterware/binary/dal/lib/am43xx-evm/a9/release/gcc" -L"C:/ti/pdk_am437x_1_0_4/packages/ti/starterware/binary/utils/lib/am43xx-evm/a9/release/gcc" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -o"LED.out" "./main.o" "./startup_ARMCA9.o" -Wl,-T"../AM437x.lds" -Wl,--start-group -lc -lutils -lsoc -ldal -lboard -lti.csl.aa9fg -Wl,--end-group
makefile:149: recipe for target 'LED.out' failed
c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lti.csl.aa9fg
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [LED.out] Error 1
makefile:145: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

添加库的路径如下:

即使我将Libraries 改为:C:\ti\pdk_am437x_1_0_4\packages\ti\csl\lib\am437x\a9\release\ti.csl.aa9fg 编译还是报错:

c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -l:C:/ti/pdk_am437x_1_0_4/packages/ti/csl/lib/am437x/a9/release/ti.csl.aa9fg

请问这个CSL库该怎样加到工程中去????

2 个回复