D3Dnet icon indicating copy to clipboard operation
D3Dnet copied to clipboard

nvcc.exe Error for building D3Dnet

Open AlanMorningLight opened this issue 1 year ago • 1 comments

image

Hello, thanks for proveding the D3Dnet code, it is very useful. However, when i compile the make.dat on win10,cuda v11.0, i meet an error, Do you have a good solution? The details are as follows: "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.35.32215/include\yvals_core.h(801): error: static assertion failed with "Error in C++ Standard Library usage." "86 errors detected in the compilation of "C:/Users/LENOVO/AppData/Local/Temp/tmpxft_00000810_00000000-10_deform_conv_cuda.cpp1.ii".

thanks very much.

AlanMorningLight avatar Mar 07 '23 08:03 AlanMorningLight

Win10 is not friendly for compile, we recommand ubuntu for D3D compile. If you have to compile D3D for win10, we have to prepare Visual Studio for compiling files based on c++ and cuda. In addition, we should make sure that pytorch can correctlly call Visual Studio for compiling.

XinyiYing avatar Mar 29 '23 03:03 XinyiYing