TI E2E 英文论坛海量技术问答的中文版全新上线,可点击相关论坛查看,或在站内搜索 “参考译文” 获取。

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.

CC2642R: CCS如何添加第三方库/.a文件?

Part Number: CC2642R

如题,我现在有一个第三方开发的.a文件和一个.h头文件,需要集成到cc2642R的simple_peripheral例程中,

在properties -> Build -> arm linker -> File Search Path -> include library file or command file 栏目中添加相应的.a库文件

在properties -> Build -> arm linker -> File Search Path -> Add <dir>  to library search path 栏目中添加相应的.a库文件

出现了错误:

fatal error #10192: Failed linktime optimization
gmake[1]: *** [simple_peripheral_CC26X2R1_LAUNCHXL_tirtos_ccs.out] Error 1

想问下可能是什么原因?