08-29-2020 12:45 PM - edited 08-29-2020 01:21 PM
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
Solved! Go to Solution.
08-31-2020 11:34 PM - edited 09-02-2020 12:54 AM
I will work with engineer team to give you a special lib version with 64 bits supported.
09-01-2020 08:04 AM
Great, thank you, waiting for 64-bit version then.
09-04-2020 03:42 PM
09-16-2020 01:08 PM
Hm... sorry but it's the same 32-bit library...