koide3 / fast_gicp

A collection of GICP-based fast point cloud registration algorithms
BSD 3-Clause "New" or "Revised" License
1.29k stars 319 forks source link

Can't import python3 pygicp after installation #93

Closed iamwilliamli closed 2 years ago

iamwilliamli commented 2 years ago

root@063a0cdb66f5:~/workspace/fast_gicp# python3 Python 3.8.0 (default, Dec 9 2021, 17:53:27) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. import pygicp Traceback (most recent call last): File "", line 1, in ImportError: dynamic module does not define module export function (PyInit_pygicp)

iamwilliamli commented 2 years ago

Also, when I tried to install on focal with Cuda, pybind11/eigen.h seems to conflict with the Eigen I installed

fast_gicp/thirdparty/pybind11/include/pybind11/eigen.h:573:24: error: ‘MappedSparseMatrix’ is not a member of ‘Eigen’; did you mean ‘SparseMatrix’? 573 | value = Eigen::MappedSparseMatrix<Scalar, Type::Flags, StorageIndex>( | ^~~~~~ | SparseMatrix