cd-athena / VCA

Video complexity analyzer
GNU General Public License v3.0
77 stars 9 forks source link

Build vcaLib as a shared library #69

Open Enulp opened 1 year ago

Enulp commented 1 year ago

Hi,

I am trying to build VCA as a shared library, but encountered the following warning message: /usr/bin/ld: analyzer/simd/libvcaLibSimd8bit.a(cpu-a.asm.o): relocation R_X86_64_PC32 against symbol "vca_intel_cpu_indicator_init" can not be used when making a shared object; recompile with -fPIC I have tried to recompile the cpu-a.asm.o file with the -fPIC flag, but the flag doesn't exist in NASM.

Is it possible to build VCA as a shared library, and if so, could you provide the steps on how to do it?

Thank you for your assistance.