SeanNaren / warp-ctc

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

make error: nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified #145

Open nta131 opened 5 years ago

nta131 commented 5 years ago

Hi everyone~ When i set up wrap-ctc, it show me this error. Could you help me to solve it?

-- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found CUDA: /usr/local/cuda-10.0 (found suitable version "10.0", required is "6.5") -- cuda found TRUE -- Building shared library with GPU support -- Configuring done -- Generating done -- Build files have been written to: /data/warp-ctc/build [ 16%] Building NVCC (Device) object ./warpctc_generated_reduce.cu.o 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 /data/warp-ctc/build/./warpctc_generated_reduce.cu.o CMakeFiles/warpctc.dir/build.make:58: recipe for target 'warpctc_generated_reduce.cu.o' failed make[2]: [warpctc_generated_reduce.cu.o] Error 1 CMakeFiles/Makefile2:127: recipe for target 'CMakeFiles/warpctc.dir/all' failed make[1]: [CMakeFiles/warpctc.dir/all] Error 2 Makefile:110: recipe for target 'all' failed make: *** [all] Error 2

Thanks in advance