Hi,
I have a project which will build a shared library rather than a executable. I want to use fastCV as cv::remap in my code is very time-consuming.
So I added fastcv to buid my .so but some errer happened during compiling.
The error is as following:
fcvImageSegmentationRegionGrowR_' which may bind externally can not be used when making a shared object; recompile with -fPIC /home/worker/Sof/fastcv-1.7.1/lib/64-bit/libfastcv.a(libfastcv_la-fastcv.o): In function
uRNull()': /usr/src/debug/fastcv-noship/git-r0/fastcv-noship/src/common/fastcv.cpp:1723:(.text+0x0): dangerous relocation: unsupported relocation
It seems that libfastcv.a is not build with "-fPIC" so libfastcv.a can not be used to build a shared library. If so, will Qualcomm release a version build with -fPIC?
Thanks in advance!
Hi,
please check if information at following link can help:
https://developer.qualcomm.com/forum/qdn-forums/software/fastcv-computer...
Else let us know the platform where you are trying to build