SeanNaren / warp-ctc

Pytorch Bindings for warp-ctc
Apache License 2.0
756 stars 271 forks source link

error while installing warp-ctc #57

Open shubham-IISc opened 6 years ago

shubham-IISc commented 6 years ago

Following is the error I am getting while running the make command:

**_nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified CMake Error at CMakeFiles/warpctc_generated_reduce.cu.o.cmake:198 (message): Error generating /home/srib/end2end/espnet-master/tools/warp-ctc/build/./warpctc_generated_reduce.cu.o

make[2]: [warpctc_generated_reduce.cu.o] Error 1 make[1]: [CMakeFiles/warpctc.dir/all] Error 2 make: * [all] Error 2_

Can someone please help me with some pointers on how to resolve this issue?

thanks

ftorregrossa commented 6 years ago

I might be late but, it seems that cmake did not find CUDA directory. You can specify it with CUDA_TOOLKIT_ROOT_DIR variable with -D option : cmake -D CUDA_TOOLKIT_ROOT_DIR=/path/to/cuda-x.x.x .. More details here