TI E2E Community
Digital Signal Processors (DSP)
DaVinci™ Video Processors
DM816x, C6A816x and AM389x Processors Forum
How to use VLIB on DM8168?
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.
All you need to do is to add the appropriate header file for the kernel and link the Vlib library in your project.
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?
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.
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?
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
Can you tell me how to integrate vlib in omx?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.