cvg / limap

A toolbox for mapping and localization with line features.
BSD 3-Clause "New" or "Revised" License
661 stars 67 forks source link

undefined symbol: _ZTVN5ceres26QuaternionParameterizationE #73

Open GISerCHAO opened 3 months ago

GISerCHAO commented 3 months ago

Ubuntu 22.04.1 Anaconda 4.13.0 CUDA 11.8 Python 3.9 PyTorch 2.0.0+cu118

When I use the following command import limap, the following error occurs. Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/hc/github/limap/limap/__init__.py", line 3, in <module> from _limap import * ImportError: /home/hc/github/limap/_limap.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZTVN5ceres26QuaternionParameterizationE I have tried installing it outside of the Anaconda environment, but the same error occurs. Can anyone tell me what the problem is? I would be very grateful!

RaghavM11 commented 2 months ago

The issue is likely due to pytorch. I suggest that you use the torch 1.13 and other versions as highlighted in #11 building using conda is fine!