I'm having a hard time trying to run CoppeliaSim (CoppeliaSim_Edu_V4_5_1_rev4_macOS13_arm64) with Matlab R2023b (maca64) on a MacBook M1 Pro. I'm using the remoteAPI from https://github.com/CoppeliaRobotics/rem ... ree/master. It looks like the library for MacOS (remoteApi.dylib) is for x86_64 and not for ARM64. I was wondering if there is a version of the remoteApi library for Apple Silicon Macs?
This is the error I'm having:
Code: Select all
Error using loadlibrary
Invalid default value for property 'OP_BLOCKING' in class 'DQ_VrepInterface':
There was an error loading the library
"/Users/juanjqo/Documents/remoteApiBindings/lib/lib/MacOS/remoteApi.dylib"
dlopen(/Users/juanjqo/Documents/remoteApiBindings/lib/lib/MacOS/remoteApi.dylib, 0x0006): tried:
'/Users/juanjqo/Documents/remoteApiBindings/lib/lib/MacOS/remoteApi.dylib' (mach-o file, but is an
incompatible architecture (have 'x86_64', need 'arm64')),
'/System/Volumes/Preboot/Cryptexes/OS/Users/juanjqo/Documents/remoteApiBindings/lib/lib/MacOS/remoteApi.dylib'
(no such file), '/Users/juanjqo/Documents/remoteApiBindings/lib/lib/MacOS/remoteApi.dylib' (mach-o file, but
is an incompatible architecture (have 'x86_64', need 'arm64'))
Error in remApi (line 761)
loadlibrary(obj.libName,@remoteApiProto);
Cheers,
Juan