XinyiYing / D3Dnet

Repository for "Deformable 3D Convolution for Video Super-Resolution", SPL, 2020
Apache License 2.0
305 stars 43 forks source link

nvcc.exe Error for building D3Dnet #36

Open AlanMorningLight opened 1 year ago

AlanMorningLight commented 1 year ago

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.

XinyiYing commented 1 year ago

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.