Error connecting to remoteApi in macOS Catalina 10.15.6

Report crashes, strange behaviour, or apparent bugs
Post Reply
felipemedlev
Posts: 2
Joined: 30 Sep 2020, 18:10

Error connecting to remoteApi in macOS Catalina 10.15.6

Post by felipemedlev »

Hi!
I'm trying to connect to coppeliaSim with a remoteApi that's connected through Jupyter Notebook. I already installed boost, and boost-python, but it appears there's a problem with this.

This is the error I get.

Code: Select all

~/ICM2813_20202_MotorBarra/ICM2813/b0.py in <module>
     16     libb0_fullpath = os.path.join(fullpath, '%sb0%s' % (prefix, suffix))
     17     if os.path.exists(libb0_fullpath):
---> 18         libb0 = ct.CDLL(libb0_fullpath)
     19         break
     20 if libb0 is None:

~/opt/anaconda3/lib/python3.8/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error, winmode)
    371 
    372         if handle is None:
--> 373             self._handle = _dlopen(self._name, mode)
    374         else:
    375             self._handle = handle

OSError: dlopen(/Users/felipemedlev/ICM2813_20202_MotorBarra/ICM2813/dylib/libb0.dylib, 6): Symbol not found: __ZN5boost16re_detail_10720011raw_storage6insertEmm
  Referenced from: /Users/felipemedlev/ICM2813_20202_MotorBarra/ICM2813/dylib/libb0.dylib
  Expected in: /usr/local/opt/boost/lib/libboost_regex-mt.dylib
 in /Users/felipemedlev/ICM2813_20202_MotorBarra/ICM2813/dylib/libb0.dylib
 
Any help would be greatly appreciated!

coppelia
Site Admin
Posts: 10337
Joined: 14 Dec 2012, 00:25

Re: Error connecting to remoteApi in macOS Catalina 10.15.6

Post by coppelia »

Hello,

did you try to recompile the B0 library?

Cheers

felipemedlev
Posts: 2
Joined: 30 Sep 2020, 18:10

Re: Error connecting to remoteApi in macOS Catalina 10.15.6

Post by felipemedlev »

Yes!

There was en error compiling following the instructions on this site: https://github.com/CoppeliaRobotics/bluezero

Nonetheless, libb0.dylib still compiled, so I replaced it and it worked!!

Post Reply