CCS6.1.3 依据模板创建的工程编译无法通过

2019-03-26 15:09发布

创建工程的过程如图所示
1.png
2.png
建立完成后在main.c中添加头文件

#include <ti/sysbios/gates/GateHwi.h>
#include <ti/sysbios/gates/GateMutex.h>

cfg文件中添加:

var GateHwi = xdc.useModule('ti.sysbios.gates.GateHwi');
var GateMutex = xdc.useModule('ti.sysbios.gates.GateMutex');

编译错误如下:

<Linking>

undefined first referenced
symbol in file
--------- ----------------
ti_sysbios_gates_GateHwi_query__E E:CCSProjectTestProDebugconfigPkgpackagecfgapp_pe66.oe66
ti_sysbios_gates_GateMutex_query__E E:CCSProjectTestProDebugconfigPkgpackagecfgapp_pe66.oe66


>> Compilation failure
makefile:139: recipe for target 'TestPro.out' failed
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "TestPro.out" not built
gmake: *** [TestPro.out] Error 1
gmake: Target 'all' not remade because of errors.

请问为什么会有这样的错误?

此帖出自小平头技术问答
0条回答

一周热门 更多>