xinntao / EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
https://github.com/xinntao/BasicSR
1.49k stars 318 forks source link

An error occurred in bash make.sh #58

Closed kevin-collins closed 5 years ago

kevin-collins commented 5 years ago

dcn_v2_cuda.obj : error LNK2001: ▒޷▒▒▒▒▒▒▒▒ⲿ▒▒▒▒ "struct THCState * state" (?state@@3PEAUTHCState@@EA) build\lib.win-amd64-3.6_ext.cp36-win_amd64.pyd : fatal error LNK1120: 1 ▒▒▒޷▒▒▒▒▒▒▒▒ⲿ▒▒▒▒ C:\Users\Kevin Collins\AppData\Roaming\Python\Python36\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) error: command 'E:\vs\VC\Tools\MSVC\14.11.25503\bin\HostX86\x64\link.exe' failed with exit status 1120

siyuhsu commented 5 years ago

You'd better use GCC version 5.4.0 and recompile it.

kevin-collins commented 5 years ago

Referring to this website https://github.com/xingyizhou/CenterNet/issues/7,I have solved this problem

yuanjunchai commented 5 years ago

GCC version 7.3.0, cuda 8.0 And there is error: error -- unsupported GNU version! gcc versions later than 5 are not supported! ^~~~~ error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

matt-teng commented 4 years ago

How did you solve this problem? I have met the same problem.