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

Eigen3.4 (declared implicitly) cannot be referenced -- it is a deleted function #32

Closed
jimzou opened this issue Mar 3, 2020 · 2 comments

Comments

@jimzou
Copy link

jimzou commented Mar 3, 2020

My EVN:
Visualization_library=cilantro
windows10
VS2017
CUDA10.0
Compiled Pangolin with Eigen3.4
Compiled cilantro with Eigen3.4

When I compile surfelwarp project, get error:

1>D:/dev3rdparty/cilantro/install/lib/cmake/cilantro/../../../include\cilantro/image_point_cloud_conversions.hpp(409): **error** : function "Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::operator=(const Eigen::Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>, 3, 1, true> &) [with XprType=Eigen::Matrix<float, 3, -1, 0, 3, -1>, BlockRows=3, BlockCols=1, InnerPanel=true]" (declared implicitly) cannot be referenced -- it is a deleted function
1>
1>D:/dev3rdparty/cilantro/install/lib/cmake/cilantro/../../../include\cilantro/image_point_cloud_conversions.hpp(472): **error** : function "Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::operator=(const Eigen::Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>, 3, 1, true> &) [with XprType=Eigen::Matrix<float, 3, -1, 0, 3, -1>, BlockRows=3, BlockCols=1, InnerPanel=true]" (declared implicitly) cannot be referenced -- it is a deleted function
1>
1>D:/dev3rdparty/cilantro/install/lib/cmake/cilantro/../../../include\cilantro/image_point_cloud_conversions.hpp(583): **error** : function "Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::operator=(const Eigen::Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>, 3, 1, true> &) [with XprType=Eigen::Matrix<float, 3, -1, 0, 3, -1>, BlockRows=3, BlockCols=1, InnerPanel=true]" (declared implicitly) cannot be referenced -- it is a deleted function
1>
1>D:/dev3rdparty/cilantro/install/lib/cmake/cilantro/../../../include\cilantro/image_point_cloud_conversions.hpp(697): **error** : function "Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::operator=(const Eigen::Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>, 3, 1, true> &) [with XprType=Eigen::Matrix<float, 3, -1, 0, 3, -1>, BlockRows=3, BlockCols=1, InnerPanel=true]" (declared implicitly) cannot be referenced -- it is a deleted function
1>
1>4 errors detected in the compilation of "C:/Users/F47/AppData/Local/Temp/tmpxft_00003c08_00000000-8_data_transfer.cpp4.ii".
1>data_transfer.cu
1>CMake Error at common_lib_generated_data_transfer.cu.obj.Release.cmake:280 (message):
1>  Error generating file
1>  D:/0.unity_prj/surfelwarp/build/common/CMakeFiles/common_lib.dir//Release/common_lib_generated_data_transfer.cu.obj

@Algomorph when I build cilantro, no error is reported. The Eigen3.4 used is surfelwarp/external/eigen3.4, I can't find where the problem is

@Algomorph
Copy link
Contributor

@jimzou I've commented in kzampog/cilantro#48

@jimzou jimzou closed this as completed Mar 6, 2020
@mrsaleh
Copy link

mrsaleh commented Apr 6, 2021

Same here, Visual Studio 2019, Cuda 10.2, Eigen 3.4.

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

3 participants