Dobot Python Demo Not Working


#1

Hi guys,

I am trying to make the robot python demo work from the Demo 2.0 folder, however, I keep getting the following errors:

dlopen(libDobotDll.dylib, 10): Library not loaded: @rpath/QtSerialPort.framework/Versions/5/QtSerialPort Referenced from: /Users/saed/Downloads/DobotDemoV2.0/DobotDemoForPython/libDobotDll.dylib Reason: image not found

I have copied the DLL for Mac files in the same folder, and I can see the libDobotDll.dylib, however it still can’t find it.

Any help would be great.

Thanks.


#2

You will most likely have to compile the .dylib from the source code using qt


#4

Did this work for anyone? Running into the same issue


#5

Hi saed.

The cause of the error is the library refer to wrong library path.
So you need to refer to correct path.(I don’t know that this way is recommend.)

At first, you should run below code. And check the path which is referenced.

$ otool -L libDobotDll.path

Maybe you get libDbotDll.dylib paths contain @rpath.
@rpath isn’t working well. So you must change these path.

Second, run below commands.

$ install_name_tool -change @rpath/QtSerialPort.framework/Versions/5/QtSerialPort /Users/saed/youcopied directly/QtSerialPort libDobotDll.dylib

And, you have to run command for QtNetwork and QtCore in the same way.

At the last, check the library path the first way.