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.

How to add .lib into .x64p

1.ok: add h264dec and  h264enc to loopbackCombo.x64P in the dm6467_dvsdk_combos_2_05

2.ok: add only a ccs.lib into server.x64p

Then I want to add the H264ENC and ccs.lib to server.x64p.But compile error.

command:

"$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) XDCARGS="$(XDCARGS)" --xdcpath="$(XDCPATH)" release

error:

js: codecs.h264enc.ce.H264ENC: incompatible assignment to alg :xdc.services.intern.xsr.Value$Obj@1fd5e2::codecs.h264enc.H264ENC

"/home/wanxiu/workdir/project/dm6467_cam/ce/qhwt/codecs/h264enc/ce/package/codecs.h264enc.ce.sch", line 99
"./codec.cfg", line 7
"./server.cfg", line 50
"./package/cfg/bin/plate_x64P.cfg", line 723
"./package/cfg/bin/plate_x64P.cfg", line 682
gmake: *** [package/cfg/bin/plate_x64P.xdl] Error 1
gmake: *** [package/cfg/bin/plate_x64P.xdl] Deleting file `package/cfg/bin/plate_x64Pcfg.cmd'
gmake: *** [package/cfg/bin/plate_x64P.xdl] Deleting file `package/cfg/bin/plate_x64Pcfg_c.c'
gmake: *** [package/cfg/bin/plate_x64P.xdl] Deleting file `package/cfg/bin/plate_x64Pcfg.s62'
make[2]: *** [all] Error 2
make[1]: *** [serverbuild] Error 2
make: *** [server] Error 2

===================================================================

// module H264ENC
var vo = $om['ti.sdo.codecs.h264enc.ce.H264ENC'];
var po = $om['ti.sdo.codecs.h264enc.ce.H264ENC.Module'];
vo.$$init(po, 'ti.sdo.codecs.h264enc.ce.H264ENC', $$DEFAULT, false);
vo.$$bind('Module', po);  //99 line
vo.$$bind('$category', 'Module');

Where is the problem?

  • willis,
    which version of XDCtools are you using? The reference '$om' was used in some very old XDCtools releases, if I remember correctly. Can you run your command line again, but add the variable XDCOPTIONS=v to the command line? Also, please post the complete output of that command line.