Hi all,
I want to use DVR RDK on DM8168 to perform some application at DSP, such as object tracking.
And I want to use some of VLIB's functions (Lucas-Kanade Feature Tracking).
Is there anyone can show me how to add VLIB to the DVR RDK example code?
By the way, my development environment is DM8168-EVM + Ubuntu 10.04LTS.
Many thanks,
Jin-Yi Wu
Hi Jin-Yi
All you need to do is to add the appropriate header file for the kernel and link the Vlib library in your project.
Regards
Pawan
Hi Pawan,
Thanks for your reply, it works.
Did you do this using a makefile or a CCS project? Can you share the specifics of your solution with me?
How exactly do you link in VLIB with the 8148 C6EZRUN make tools? As you can see my command line make as such will not build due to unresolved symbols but the makefile syntax is correct.
This doesn't workl from the command line using make any idea why?
c6runapp-cc -l"/home/drs/dsplib/VLIB_V_2_1/library/c64plus/vlib.l64p" -l"/home/drs/dsplib/VLIB_V_2_1/library/c64plus/imglib2.l64P" -o main_dsp main.o
undefined first referenced symbol in file --------- ---------------- VLIB_imagePyramid8 dsp/RTA.o
error #10234-D: unresolved symbols remainerror #10010: errors encountered during linking; "rta_dsp.dsp_image.out" not builtmake: *** [dsp] Error 1
Hi Pawan, WuJinyi:
Could you pls share the steps to add vlib support in dvrrdk. I met the same problem as Michael.
I was adding vlib into below LIB_PATHS:
# Path of the RTS library - normally doesn't change for a given tool-chainRTSLIB_PATH = $(CODEGEN_PATH)/lib/rts6740$(RTSLIB_ENDIAN)$(RTSLIB_FORMAT).libLIB_PATHS += $(RTSLIB_PATH) \ $(fc_INCLUDE)/ti/sdo/fc/ecpy/lib/debug/ecpy.ae674 \ $(dvr_rdk_PATH)/mcfw/src_bios6/alg/scd/lib/vlib.l64p
and included VLIB_prototypes.h header where function was called.
Is there anything missing in my step?
Hi Sheng,
You have to find out whether you are trying to build using ELF or COFF VLIB library. To find out, in CCS, goto your project properties, and check for output format.
Hi Pawan:
So you mean the vlib file format should be the same as DVRRDK configured? I saw in DVRRDK makefile there is definition: LOADER = ELF.
For vlib.l64p, it is an archive file, could you explain clearly how to identify it is ELF or COFF packed?
thanks.
In VLIB 2.2 there is a file named vlib_elf.le64p which is the ELF version. This file did not exist in the previous version. I hope this helps.
i'm working with vlib2.2 on DM8168 platform.
if i use the coff format vlib, my algorithm can work, but if i switch to ELF foramt vlib,
the same code, just switch exexutable option from coff to elf, the algorithm does not work normally.
is there anything special for elf format vlib?
thanks very much
能把vlib2.2 库给我一份吗?我用的vlib2.1只有coff,没有elf。471030698@qq.com