warp-ctc icon indicating copy to clipboard operation
warp-ctc copied to clipboard

Error while Installing Warp-ctc

Open Tikam02 opened this issue 6 years ago • 8 comments

~/warp-ctc/build$ make [ 11%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o In file included from /usr/local/cuda-9.0/include/host_config.h:50:0, from /usr/local/cuda-9.0/include/cuda_runtime.h:78, from :0: /usr/local/cuda-9.0/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported! #error -- unsupported GNU version! gcc versions later than 6 are not supported! ^~~~~ CMake Error at warpctc_generated_reduce.cu.o.cmake:219 (message): Error generating /home/tikam/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_reduce.cu.o

CMakeFiles/warpctc.dir/build.make:70: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o' failed make[2]: *** [CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/warpctc.dir/all' failed make[1]: *** [CMakeFiles/warpctc.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

Tikam02 avatar Jun 20 '18 14:06 Tikam02

I have almost the same issue. CMake Error at test_gpu_generated_test_gpu.cu.o.cmake:279 (message): Error generating file /home/masterpy/warp-ctc/build/CMakeFiles/test_gpu.dir/tests/./test_gpu_generated_test_gpu.cu.o

CMakeFiles/test_gpu.dir/build.make:63: recipe for target 'CMakeFiles/test_gpu.dir/tests/test_gpu_generated_test_gpu.cu.o' failed make[2]: *** [CMakeFiles/test_gpu.dir/tests/test_gpu_generated_test_gpu.cu.o] Error 1 CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/test_gpu.dir/all' failed make[1]: *** [CMakeFiles/test_gpu.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

AlanStark avatar Jul 05 '18 18:07 AlanStark

I meet this problem ,and I sloved it just by uninstall old gcc,and reinstall cuda/cudnn/gcc/cmake

Aurora11111 avatar Aug 08 '18 03:08 Aurora11111

@Aurora11111 Even I am facing the same problem. Did you downgrade gcc version below 5.0 to solve the error? What do you mean by " reinstall cuda/cudnn/gcc/cmake"?

kevgeo avatar Nov 21 '18 05:11 kevgeo

I have tried downgrade gcc, and it can't help. you can reference Issue when install warp_ctc_pytorch :https://github.com/Aurora11111/crnn-train-pytorch

Aurora11111 avatar Nov 21 '18 06:11 Aurora11111

@kevgeo which means reinstall cuda,cudnn,gcc,cmake

Aurora11111 avatar Nov 21 '18 06:11 Aurora11111

@Aurora11111 Thanks for the swift reply. Should I be installing any particular version of cuda and cudnn for warp-ctc?

kevgeo avatar Nov 21 '18 07:11 kevgeo

I am facing the same issue, Where I simply cant downgrade the gcc version because the system has other projects running which need gcc 7+ and cuda 10 for functioning. I tried reinstalling cuda and cuDNN but the problem persists. How to solve the issue??

ronybanerjee93 avatar Mar 12 '19 12:03 ronybanerjee93

this worked for me.

ritwikmishra avatar Nov 02 '20 18:11 ritwikmishra