Forums - APQ8074 qcamvid with opencv - Hidden Symbol referenced by DSO

1 post / 0 new
APQ8074 qcamvid with opencv - Hidden Symbol referenced by DSO
gbps
Join Date: 25 May 16
Location: Palo Alto
Posts: 5
Posted: Mon, 2016-07-18 23:46

Hi

qcamvid code from sdk was modified to use opencv functions.

This code was placed in opencv (git version) apps and compiled by linking to SDK header and libraries.

While linking it is giving this  error -

/home/gbp/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: ../../bin/opencv_camera: hidden symbol `_ZN7qcamvid3App17sendFrameToEncodeEPN6camera12ICameraFrameE' in CMakeFiles/opencv_camera.dir/qcamvidVis.cpp.o is referenced by DSO
/home/gbp/Qualcomm/Hexagon_SDK/3.0/gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_camera] Error 1
 

This symbol was found in libqti_fpv_streamer.so. The output of objdump -t libqti_fpv_streamer.so for this symbol shows,

00000000         *UND*    00000000              _ZN7qcamvid3App17sendFrameToEncodeEPN6camera12ICameraFrameE
 

How to resolve this issue and get the executable code successfully.

 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.