cvg / pixel-perfect-sfm

Pixel-Perfect Structure-from-Motion with Featuremetric Refinement (ICCV 2021, Best Student Paper Award)
Apache License 2.0
1.29k stars 132 forks source link

removing local pyceres breaks local build on MacOS M1 #96

Closed ducha-aiki closed 11 months ago

ducha-aiki commented 1 year ago

When I compile separate pyceres, it seems to be linked properly, but lacks symbols:

>>> import pyceres
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/dmytromishkin/dev/pyceres/pyceres.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace '__ZN5ceres11NormalPriorC1ERKN5Eigen6MatrixIdLin1ELin1ELi1ELin1ELin1EEENS2_IdLin1ELi1ELi0ELin1ELi1EEE'

So the latest pixsfm doesn't work for me now. It was working prior to removal of local pyceres.

ducha-aiki commented 11 months ago

When https://github.com/cvg/pyceres/pull/18 is merged, the issue would be solved