你好,我尝试着在video_copy例程中进行调用c6accel,查阅关于c6accel的使用文档时见下面说明:
The configuration file .cfg includes the specific unit server that needs to be invoked in the application:
var demoEngine = Engine.createFromServer(
"omap3530",
"./omap3530.x64P",
"ti.c6accel_unitservers.omap3530"
);
注释说明只能包含唯一的server库(unit server),我的理解是我要调用c6accel就必须把相应平台的库包含进来,如./omap3530.x64P,
然而video_copy中本身需要调用video_copy.x64p,见video_cfg下的:
var Engine = xdc.useModule('ti.sdo.ce.Engine');
var myEngine = Engine.createFromServer(
"video_copy", // Engine name (as referred to in the C app)
// path to server exe, relative to its package dir
serverName,
"ti.sdo.ce.examples.servers.video_copy" // server package
);
请问此时我该怎么解决这个矛盾?
例程中为在cfg中未添加c6accel库编译时显示如下:
undefined first referenced
symbol in file
--------- ----------------
_C6accel_create package/cfg/bin/ti_platforms_evm3530/app_local/app.o64P
_C6accel_delete package/cfg/bin/ti_platforms_evm3530/app_local/app.o64P
error: unresolved symbols remain
error: errors encountered during linking;
我的理解就是在cfg文件中没加入相应库出现的问题,望答复,谢谢;