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

cmake error #27

Open
darkdelting opened this issue Oct 28, 2024 · 3 comments
Open

cmake error #27

darkdelting opened this issue Oct 28, 2024 · 3 comments

Comments

@darkdelting
Copy link

gtsam_points/cuda/kernels/vgicp_derivatives.cuh(49): error: calling a host function("Eigen::MatrixBase< ::Eigen::CwiseBinaryOp< ::Eigen::internal::scalar_sum_op<float, float> , const ::Eigen::Matrix<float, (int)3, (int)3, (int)0, (int)3, (int)3> , const ::Eigen::Matrix<float, (int)3, (int)3, (int)0, (int)3, (int)3> > > ::inverse() const") from a device function("gtsam_points::vgicp_derivatives_kernel::operator () const") is not allowed

@koide3
Copy link
Owner

koide3 commented Oct 29, 2024

What is the version of your ubuntu? The error should be related to the version of Eigen. See this thread: koide3/glim#89 (comment)

@darkdelting
Copy link
Author

ununtu20.04 eigen3.3.7 ,
Thank your anwser , My Eigen versin should >= 3.4.0

@koide3
Copy link
Owner

koide3 commented Oct 29, 2024

For Ubuntu 20.04, you need to manually install Eigen and cmake because the system default ones are too old. Please take a look at

RUN git clone https://gitlab.com/libeigen/eigen.git
.

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

2 participants