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.

库函数symbol undefined,库已包含



您好!

我在调试程序的时候出现错误如下:

undefined                                               first referenced 
symbol                                                    in file 
---------                                                      ---------------- 
SharedRegion_getHeap                     ./src/TCP3D_test_main.obj
xdc_runtime_System_exit__E            ./src/TCP3D_test_main.obj

但是我已经在头文件中包含了

#include <xdc/runtime/IHeap.h>
#include <xdc/runtime/Memory.h>
#include <SharedRegion.h>

#include <xdc/runtime/System.h>

工程属性里也包含了相应的库,如下:

“${CG_TOOL_ROOT}/include”

"C:\ti\ipc_1_25_00_04\packages"

"C:\ti\ipc_1_25_00_04\packages\ti\ipc"

"C:\ti\xdctools_3_23_04_60\packages"

在.c文件里也可以查看函数定义

但编译就是无法通过,请问这是什么原因?该怎么解决?