baowenbo / DAIN

Depth-Aware Video Frame Interpolation (CVPR 2019)
https://sites.google.com/view/wenbobao/dain
MIT License
8.19k stars 840 forks source link

Not able to build the project while using cuda-10.1. Getting some errors. #147

Open Rishabh-Samra opened 2 years ago

Rishabh-Samra commented 2 years ago

So I have cuda-10.1 installed. I followed the steps given in the repository but when I run ./build.sh inside my_package directory, I got the error saying command 'gcc' failed with exit status 1.(screenshots attached). GCC version that is installed in my conda environment is 11.2.0. As mentioned in the errors of screenshot, there was no folder named crt but there were host_defines.h files in include directory of cuda-10.1 . So I tried to create a folder named crt inside include directory of cuda-10.1 and copied the host_defines.h files there but after that too there were some lengthy errors coming initial of which I have attached(error2).

I request people and the authors to help me rectify this issue. What can be the reason for these issues to come up? Is it due to the usage of cuda-10.1 ?

GCC_FailedError

Error2

martian1231 commented 2 years ago

I am facing the similar issue, please help.

laomao0 commented 2 years ago

If you do not want to build CUDA programs. We provide the CUPY version of those packages. The cupy files do not need to be built. please refer to: https://github.com/laomao0/cupy_packages