Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Error #2

Open
veinyyxy opened this issue Sep 3, 2021 · 5 comments
Open

Compiling Error #2

veinyyxy opened this issue Sep 3, 2021 · 5 comments

Comments

@veinyyxy
Copy link

veinyyxy commented Sep 3, 2021

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.

@hzwer
Copy link

hzwer commented Sep 16, 2021

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.

@ZifaZhu
Copy link

ZifaZhu commented Sep 24, 2021

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.

@hzwer
Copy link

hzwer commented Sep 24, 2021

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

@SongQiPing
Copy link

I think there is a problem with the Eigen version. VectorX is not available in Eigen 3.3, but it is available in VectorX 3.4. It is recommended to update the version of Eigen and build it from the source code on the official website

@AwesomePeiweiPan
Copy link

I tried upgrading Eigen3.3 to Eigen3.4, but it didn't work

The good news is that I found that I didn't use - recursive when cloning, you can try
use
git submodule update --init --recursive

good luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants