File "/usr/lib64/python3.7/ctypes/__init__.py", line 369, in __getattr__
func = self.__getitem__(name)
File "/usr/lib64/python3.7/ctypes/__init__.py", line 374, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libdwf.so: undefined symbol: FDwfDigitalSpiSelectSet
pure virtual method called
terminate called without an active exception
Aborted
I tried to use SPI built in function for digital discovery. FDwfDigitalSpiSelectSet and other spi functions are what I try to use.
My code works in Windows environment, but in Linux system, I got this error. Actually, I have some codes running (mostly IO stuff) on Linux system, but this code involving SPI built-in function is not working. The libdwf.so may have some problems. Could you please help me to solve this problem? Thanks.
Question
minghan chao
The error is the following
File "/usr/lib64/python3.7/ctypes/__init__.py", line 369, in __getattr__
func = self.__getitem__(name)
File "/usr/lib64/python3.7/ctypes/__init__.py", line 374, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libdwf.so: undefined symbol: FDwfDigitalSpiSelectSet
pure virtual method called
terminate called without an active exception
Aborted
I tried to use SPI built in function for digital discovery. FDwfDigitalSpiSelectSet and other spi functions are what I try to use.
My code works in Windows environment, but in Linux system, I got this error. Actually, I have some codes running (mostly IO stuff) on Linux system, but this code involving SPI built-in function is not working. The libdwf.so may have some problems. Could you please help me to solve this problem? Thanks.
Best regards, Minghan Chao
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now