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

Error building warp-ctc : CMakeFiles/warpctc.dir/build.make:340: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o' failed

Open Akshatha2505 opened this issue 5 years ago • 4 comments

Hi , I am facing the issue after I run make on warp-ctc. I did the following:

git clone https://github.com/SeanNaren/warp-ctc.git cd warp-ctc mkdir build; cd build cmake .. make

Here is my error log-

[ 11%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o /usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9220): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9231): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9244): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9255): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9268): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9279): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9292): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9303): error: argument of type "const void *" is incompatible with parameter of type "const double *"

...... ......

92 errors detected in the compilation of "/tmp/tmpxft_00000310_00000000-13_reduce.compute_70.cpp1.ii". CMake Error at warpctc_generated_reduce.cu.o.cmake:279 (message): Error generating file /home/akshatha/multi-hare/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_reduce.cu.o

CMakeFiles/warpctc.dir/build.make:340: 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:79: 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

Thanks in advance.

Akshatha2505 avatar Aug 25 '20 14:08 Akshatha2505

I am facing the same issue. I have pytorch 1.2 and cuda 10.1

polly-morphism avatar Sep 13 '20 11:09 polly-morphism

What version of gcc and g++ do you have? This error did not appear with gcc-4.8 for me.

Akshatha2505 avatar Sep 16 '20 15:09 Akshatha2505

this worked for me.

ritwikmishra avatar Nov 02 '20 18:11 ritwikmishra

not work anymore

this worked for me.

zhangfengyo avatar Mar 05 '21 11:03 zhangfengyo