CCS3.3 编译链接系列错误

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

错误1: [Linking...] "C:\CCStudio_v3.3\C5500\cgtools\bin\cl55" -@"Debug.lkf"

undefined first referenced symbol in file


_I2C_getConfig C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _MCBSP_write16 C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj CSL5509_LIB C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _MCBSP_open C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _MCBSP_read16 C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _I2C_write C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _MCBSP_start C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _MCBSP_config C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj __CSL_init C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _PLL_config C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _MCBSP_getConfig C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj _I2C_setup C:\CCStudio_v3.3\MyProjects\EX_BIOS\EX58_task\Debug\tsk.obj

error: symbol referencing errors - './Debug/tsk.out' not built

Compilation failure

Build Complete, 2 Errors, 0 Warnings, 0 Remarks.

解决方法:缺少链接库,添加合适链接库文件即可 方案一、直接将所需要的库文件加到项目工程中,譬如:鼠标右键,点击“Add Files to Project...”,选中:C:\CCStudio_v3.3\C5500\cgtools\lib\rts55x.lib; 方案二、修改链接器的链接参数即可;譬如:鼠标右键,点击“Build Options...”,选Linker Tab, Category中选Libraries, 设置Inc. Libraries (-l): 为 rts55x.lib;

错误2:fatal error: #error NO CHIP DEFINED 解决方法:进入csl_chiphal.h头文件中发现由于未定义任何芯片类型导致error 在build option 中的processor中添加芯片类型即可 如下图所示: CCS3.3 编译链接系列错误_第1张图片

转载于:https://my.oschina.net/dongdong2012/blog/93497

你可能感兴趣的:(CCS3.3 编译链接系列错误)