mLib icon indicating copy to clipboard operation
mLib copied to clipboard

VS2015 complile error

Open CaffeMrDe opened this issue 5 years ago • 10 comments

I try to complie the bundlefusion with vs2015, but it occur the problem about it . I thinks it compile problem, but how can I solve it?

1>d:\3dre\bundlefusion\external\mlib\include\application-d3d11\d3d11canvas2d.h(302): error C2280: “ml::D3D11Canvas2D::ElementBillboard::ElementBillboard(const ml::D3D11Canvas2D::ElementBillboard &)”:

Thanks you!

CaffeMrDe avatar Dec 16 '19 03:12 CaffeMrDe

Are you using the current version of mlib? This should have been fixed in: https://github.com/niessner/mLib/commit/cd69b7b25be9a8b17d751d6f8693d06f12bfdf78#diff-e4f7e327bd8beeb04e893cb4c386f69b

dazinovic avatar Dec 16 '19 09:12 dazinovic

Yes. I get the source package with git clone the lastest master.

CaffeMrDe avatar Dec 16 '19 13:12 CaffeMrDe

Can you write the exact compilation error that you get? Can you try to compile it with VS2019? I just tried it again with VS2019 and I am unable to reproduce the error that you get.

dazinovic avatar Dec 16 '19 14:12 dazinovic

I have already solve the problem . Thanks!

CaffeMrDe avatar Mar 17 '20 02:03 CaffeMrDe

I have already solve the problem . Thanks!

I met the same problem and tried a lot of method but didn't work. Could you please tell me how you solve it?

tyronedong avatar Aug 03 '20 14:08 tyronedong

@CaffeMrDe could you tell me how to fix that error, I am using visual studio 2017 I am getting the same error

chethanab16 avatar Sep 15 '20 02:09 chethanab16

Hi I try to compile the bundle fusion with visual studio 2017 but got the following error , could some one give me suggestion how to solve this problem.

bundle_fusion_2017_error_1

chethanab16 avatar Sep 15 '20 02:09 chethanab16

@dazinovic I got the Following error when i try to compile bundle fusion and I am using VS 2017 could you please suggest me solution , and I am using the new mlib externales from git thankyou.

Severity Code Description Project File Line Suppression State Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189 Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189 Error C2280 'ml::MeshData &ml::MeshData::operator =(const ml::MeshData &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\bundlefusion-master\external\mlib\include\core-mesh\meshdata.cpp 575 Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189 Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189 Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189 Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189 Error C2280 'ml::MeshData &ml::MeshData::operator =(const ml::MeshData &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\bundlefusion-master\external\mlib\include\core-mesh\meshdata.cpp 575 Error C2280 'ml::MeshData &ml::MeshData::operator =(const ml::MeshData &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\bundlefusion-master\external\mlib\include\core-mesh\meshdata.cpp 575 Error C2280 'Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false>::operator =(const Eigen::Block<Eigen::Block<Eigen::Map<Derived,0,Eigen::Stride<0,0>>,-1,-1,false>,-1,-1,false> &)': attempting to reference a deleted function FriedLiver d:\azur_kinect_bundlefusion_2017_port\mlibexternal\include\eigen\src\core\solvetriangular.h 189

chethanab16 avatar Sep 16 '20 06:09 chethanab16

I guess the problem what cause is the VS complier version. I change the complier version to vs2013, and it solve.

CaffeMrDe avatar Sep 18 '20 02:09 CaffeMrDe

@CaffeMrDe thank you for your suggestion, I want to run the project on VS2017 or Vs 2015 Compiler , could you give me some suggestion , thankyou

chethanab16 avatar Sep 18 '20 02:09 chethanab16