uoip / g2opy

Python binding of SLAM graph optimization framework g2o
668 stars 176 forks source link

Has anyone been able to compile and run this on an Apple Mac `m1` ? #53

Open nickponline opened 3 years ago

nickponline commented 3 years ago

It compiles correctly for me, but when I try:

import g2o

I get:

import g2o
ImportError: dlopen(/Users/me/opt/anaconda3/envs/dev/lib/python3.7/site-packages/g2o.cpython-37m-darwin.so, 2): no suitable image found.  Did find:
/Users/me/opt/anaconda3/envs/dev/lib/python3.7/site-packages/g2o.cpython-37m-darwin.so: mach-o, but wrong architecture
/Users/me/opt/anaconda3/envs/dev/lib/python3.7/site-packages/g2o.cpython-37m-darwin.so: mach-o, but wrong architecture
NewstellerBot commented 1 year ago

@nickponline any updates on this? Also, have you tried building from source or did you install with anaconda?