aditof_sdk
aditof_sdk copied to clipboard
`undefined symbol` error on loading aditofpython with a fresh RPi image
- I've installed a fresh image for RPi from
https://swdownloads.analog.com/cse/aditof/raspberrypi-fxtof1-latest-image.tar.xz
- I've plugged the camera according to the steps at
https://wiki.analog.com/resources/eval/user-guides/ad-fxtof1-ebz/ug_rpi
- I've started interactive python and at the attempt to load
aditofpython
I'm getting theundefined symbol
error.
pi@raspberrypi:~ $ python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import aditofpython as tof
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.7/dist-packages/aditofpython.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: _ZN6aditof6System10initializeEv
I have not modified the system (except configuring network). It is a fresh install. Should I install older image, install SDK manually, etc?
You have to build the SDK with cmake parameter -DWITH_PYTHON=On Follow these instructions and add the parameter