Have you searched the issue from the closed issue threads?
The closed thread I found was https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/366
Please describe the issue in detail
I am using Mac os x so I needed to download xcode because MATLAB requires a third-party compiler in order to read C and build the library.
I downloaded XCode 11.5 and I am using MATLAB_R2019B.
I followed the "library set up" section on the e-manual and added all the necessary folder in MATLAB using "set path".
Now I have some problem every-time I try to run a .m file, for instance read_write.m as advised in the e-manual.
At first I had an error because Apple has silently updated XCode, and has changed some defaults, which MATLAB blindly reads. This issue was fixed following the method explained in https://xolotl.readthedocs.io/en/master/troubleshooting/.
But now I have the following error whenever I run read_write.m
Error using loadlibrary
There was an error loading the library "libdxl_mac_c"
dlopen(libdxl_mac_c.dylib, 6): image not found
Error in read_write (line 48)
[notfound, warnings] = loadlibrary(lib_name, 'dynamixel_sdk.h',
'addheader', 'port_handler.h', 'addheader', 'packet_handler.h');
Caused by:
Error using loaddefinedlibrary
dlopen(libdxl_mac_c.dylib, 6): image not found
I would really appreciate if you could tell me what I should do to properly load the library.
Thank you.
How can we reproduce the issue?
Download MATLAB_R2019B
Download Xcode 11.5
Fix the issue caused by Xcode update using https://xolotl.readthedocs.io/en/master/troubleshooting/
Hi @ej3517
I'm sorry about the delayed response.
We'll review this on our Mac, but we might not be able to test with MATLAB 2019 version.
Thank you for your understanding.
ISSUE TEMPLATE ver. 1.2.0
Please fill this template for more accurate and prompt support.
3.4.1
3.7.31
C
,C++
,C#
,Python
,Java
,MATLAB
,LABVIEW
,ROS
,Arduino
, etcMATLAB
Ubuntu 16.04
,Windows 10
,OS X 10.14
OS X 11.2.1
USB2Dynamixel
,U2D2
,OpenCM904
,OpenCR
, etcU2D2
MX-28(2.0)
,AX-12W
,XM430-W250
, etc.xh430-w350-r
The closed thread I found was
https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/366
I am using Mac os x so I needed to download xcode because MATLAB requires a third-party compiler in order to read C and build the library. I downloaded XCode 11.5 and I am using MATLAB_R2019B. I followed the "library set up" section on the e-manual and added all the necessary folder in MATLAB using "set path". Now I have some problem every-time I try to run a .m file, for instance
read_write.m
as advised in the e-manual.At first I had an error because Apple has silently updated XCode, and has changed some defaults, which MATLAB blindly reads. This issue was fixed following the method explained in
https://xolotl.readthedocs.io/en/master/troubleshooting/
.But now I have the following error whenever I run
read_write.m
I would really appreciate if you could tell me what I should do to properly load the library. Thank you.
https://xolotl.readthedocs.io/en/master/troubleshooting/