DROID-SLAM icon indicating copy to clipboard operation
DROID-SLAM copied to clipboard

Compiling Error

Open veinyyxy opened this issue 4 years ago • 5 comments

error: namespace "Eigen" has no member "VectorX" \DROID-SLAM\src\droid_kernels.cu(1100): error: this declaration has no storage class or type specifier \DROID-SLAM\src\droid_kernels.cu(1100): error: expected a ";" \DROID-SLAM\src\droid_kernels.cu(1107): error: namespace "Eigen" has no member "VectorX" \DROID-SLAM\src\droid_kernels.cu(1107): error: expected a ")" \DROID-SLAM\src\droid_kernels.cu(1104): error: identifier "b" is undefined \DROID-SLAM\src\droid_kernels.cu(1108): error: "b" is not a nonstatic data member or base class of class "SparseBlock" \DROID-SLAM\src\droid_kernels.cu(1148): error: identifier "b" is undefined \DROID-SLAM\src\droid_kernels.cu(1155): error: identifier "b" is undefined \DROID-SLAM\src\droid_kernels.cu(1155): error: class "SparseBlock" has no member "b" error: no instance of constructor "SparseBlock::SparseBlock" matches the argument list argument types are: (const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::SparseMatrix<double, 0, int>, const Eigen::SparseMatrix<double, 0, int>>, , const int, const int) \DROID-SLAM\src\droid_kernels.cu(1164): error: identifier "b" is undefined \DROID-SLAM\src\droid_kernels.cu(1182): error: identifier "b" is undefined \DROID-SLAM\src\droid_kernels.cu(1182): error: no instance of overloaded function "Eigen::SimplicialLLT<_MatrixType, _UpLo, _Ordering>::solve [with _MatrixType=Eigen::SparseMatrix<double, 0, int>, _UpLo=1, _Ordering=Eigen::AMDOrdering]" matches the argument list argument types are: () object type is: Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0, int>, 1, Eigen::AMDOrdering>

15 errors detected in the compilation of "/DROID-SLAM/src/droid_kernels.cu".

Thanks a lot.

veinyyxy avatar Sep 03 '21 01:09 veinyyxy

I meet the same issue using cuda11.0. Fortunately, I re-used cuda10.2 + cudnn8.0.4 + torch1.7.1 and successfully ran the demo.py provided by the author.

hzwer avatar Sep 16 '21 06:09 hzwer

I meet the same issue using cuda11.0. Fortunately, I re-used cuda10.2 + cudnn8.0.4 + torch1.7.1 and successfully ran the demo.py provided by the author.

Which version of python did you use? Thx.

ZifaZhu avatar Sep 24 '21 08:09 ZifaZhu

I meet the same issue using cuda11.0. Fortunately, I re-used cuda10.2 + cudnn8.0.4 + torch1.7.1 and successfully ran the demo.py provided by the author.

Which version of python did you use? Thx.

3.7

hzwer avatar Sep 24 '21 10:09 hzwer