warp-ctc
warp-ctc copied to clipboard
Error while Installing Warp-ctc
~/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
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
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
I meet this problem ,and I sloved it just by uninstall old gcc,and reinstall cuda/cudnn/gcc/cmake
@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"?
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
@kevgeo which means reinstall cuda,cudnn,gcc,cmake
@Aurora11111 Thanks for the swift reply. Should I be installing any particular version of cuda and cudnn for warp-ctc?
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??
this worked for me.