Hello, I'm building a binary for BME680 on Ubuntu Bionic 64-bit on Raspberry Pi 3. When linking to libalgobsec.a library from BSEC_1.4.7.4_Generic_Release\algo\normal_version\bin\RaspberryPI\PiThree_ArmV8-a-64bits folder, I get an error:
gcc -O3 -o bsec bsec.c -li2c -L . -l:libalgobsec.a
/usr/bin/ld: skipping incompatible ./libalgobsec.a when searching for -l:libalgobsec.a
Any ideas?
Thanks!
PS. When I extract the members from the library and check them, it shows 32-bit, not 64! Where would I get 64-bit library then?
ar x libalgobsec.a
file bsec_codegen_data.o
bsec_codegen_data.o: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), not stripped