dobot magician,想通过编程语言调用API。 但是下面页面的DobotDemoV2.0,不太明白如何使用。
http://cn.dobot.cc/download-center/dobot-magician.html
比如说DobotDemoForPython如何在Macbook上使用?
dll文件都是面向Windows的,没法在Macbook上运行吧?
在Macbook上运行时出现以下错误。
%python DobotControl.py
Traceback (most recent call last):
File “DobotControl.py”, line 4, in
api = dType.load()
File “/Users/outannexway/Downloads/dobot/DobotDemoV2.0-20170118/DobotDemoForPython/DobotDllType.py”, line 422, in load
return cdll.DobotDll
File “/Users/outannexway/.pyenv/versions/3.4.3/lib/python3.4/ctypes/init.py”, line 421, in getattr
dll = self._dlltype(name)
File “/Users/outannexway/.pyenv/versions/3.4.3/lib/python3.4/ctypes/init.py”, line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(DobotDll, 6): image not found