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

VS 2019 and CUDA 11.4 C2280 meshData.cpp 575 #72

Open
jianghd1996 opened this issue Dec 3, 2021 · 3 comments
Open

VS 2019 and CUDA 11.4 C2280 meshData.cpp 575 #72

jianghd1996 opened this issue Dec 3, 2021 · 3 comments

Comments

@jianghd1996
Copy link

jianghd1996 commented Dec 3, 2021

Except the same issue in #70 (Fixed with the answer)

also

C2280 “ml::MeshData &ml::MeshData::operator =(const ml::MeshData &)”:
FriedLiver BundleFusion-master\external\mlib\include\core-mesh\meshData.cpp 575

@jianghd1996 jianghd1996 changed the title VS 2019 and CUDA 11.4 VS 2019 and CUDA 11.4 C2280 meshData.cpp 575 Dec 3, 2021
@wuqs-net
Copy link

wuqs-net commented Jan 20, 2022

Hello. Were you able to compile and run the project successfully? I was able to compile but then when I run the program with offline data it just got stuck. I am also using VS 2019 and CUDA 11.4.

@crud89
Copy link

crud89 commented Mar 30, 2022

Hello. Were you able to compile and run the project successfully? I was able to compile but then when I run the program with offline data it just got stuck. I am also using VS 2019 and CUDA 11.4.

Either update the mLib submodule from command line (it got fixed, but the submodule is still on an older revision):

cd external/mLib/
git pull origin master

Or manually edit the meshData.h file. For this look for the constructor definition at line 402 and add a compiler-generated override for the copy constructor and operator:

MeshData(const MeshData&) = default;
void operator=(const MeshData&) = default;

@zouhongwei
Copy link

Hello. Were you able to compile and run the project successfully? I was able to compile but then when I run the program with offline data it just got stuck. I am also using VS 2019 and CUDA 11.4.

hello, have you fixed the problem?

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

4 participants