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.

CCS3.3 工程编译后,报错:关于rts2800_ml.lib

Other Parts Discussed in Thread: CCSTUDIO

工程编译后报如下错误:

<Linking>

undefined first referenced
symbol in file
--------- ----------------
_main C:/CCStudio_v3.3PLA/C2000/cgtools/lib/rts2800_ml.lib<args_main.obj>

error: unresolved symbols remain
error: errors encountered during linking; "./Debug/Jack.out" not built

>> Compilation failure

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

但已在 "build options -> linker -> librariers -> includ  librariers“ 中包含了rts2800_ml.lib,

  • 没有main函数?

  • 有main函数

    之前我是直接把TI的F2803x_header,F2803x_common复制到工程文件夹下

    现在,我把要用的F2803x_header,F2803x_common中的.h,.lib等文件放到自己在项目中创建的文件夹中,再在builder options中设置相应路径,问题解决,