[ctypes-users] Loading a dll file on a Unix computer
Brought to you by:
theller
From: kristine l <per...@gm...> - 2016-07-18 19:26:19
|
Hi guys! I am trying to load the '__CLDevIFace.dll' library found on this page: https://github.com/charlie1kimo/Zygo/tree/master/wave_meter_wrapper to communicate with a Bristol 621 wavemeter. I would be doing this on a Unix computer, and each time I try to run: """ from ctypes import * dll = cdll.LoadLibrary('__CLDevIFace.dll') """ It gives me the error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary return self._dlltype(name) File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) OSError: __CLDevIFace.dll: cannot open shared object file: No such file or directory I have no idea where to go from here, and the tutorial on the ctypes package is not helping me. Thanks for any help! |