As reported in https://forum.image.sc/t/driving-a-linkam-cms196-with-python-microscope/78773/2 LinkamCMS fails to initialize in Linux:
Using microscope we do not succeed in completing init_sdk() – it manages to load the DLL (although we hard to write the path in hard)
__class__._lib = ctypes.CDLL("libLinkamSDK.so")
We’re then able to read the license correctly, however when we get to:
cfunc = ctypes.CFUNCTYPE(_uint32_t, _CommsHandle, _ControllerStatus)(
__class__._on_new_value
)
We get this output:
*** stack smashing detected ***: terminated
Aborted
I've tried in Linux, even without hardware, and can reproduce the issue so the problem is not on the SDK.
As reported in https://forum.image.sc/t/driving-a-linkam-cms196-with-python-microscope/78773/2 LinkamCMS fails to initialize in Linux:
I've tried in Linux, even without hardware, and can reproduce the issue so the problem is not on the SDK.