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.