SeanNaren / warp-ctc

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

Error when 'make' :warp-ctc/src/ctc_entrypoint.cu(1): error: this declaration has no storage class or type specifier warp-ctc/src/ctc_entrypoint.cu(1): error: expected a ";" #141

Open qixxtny opened 5 years ago

qixxtny commented 5 years ago

When runing make:

warp-ctc/src/ctc_entrypoint.cu(1): error: this declaration has no storage class or type specifier

warp-ctc/src/ctc_entrypoint.cu(1): error: expected a ";"

2 errors detected in the compilation of "/tmp/tmpxft_000056c2_00000000-19_ctc_entrypoint.compute_62.cpp1.ii". CMake Error at warpctc_generated_ctc_entrypoint.cu.o.cmake:266 (message): Error generating file /warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_ctc_entrypoint.cu.o

CMakeFiles/warpctc.dir/build.make:184: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o' failed make[2]: [CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o] Error 1 CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/warpctc.dir/all' failed make[1]: [CMakeFiles/warpctc.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

I encountered some tough problems when runing the 'make',It seems that something wrong with the code 'src/ctc_entrypoint.cpp', but I download this whole project from github, so the code should be correct, I think it's maybe the problem of the gcc version, I upgraded the gcc from 4.8 to 5.4, but it still not working... ptorch 0.4.0 gcc 5.4 cuda 8.0 ,I tried many ways but just can't solve it , can anyone hlep me? Is there anyone meet the same problem, how did you solve it?

vincezengqiang commented 4 years ago

Do u figure out this issue now? If you fix it, could u please tell me how to figure it out?

vincezengqiang commented 4 years ago

Do u figure out this issue now? If you fix it, could u please tell me how to figure it out?

Broduker commented 4 years ago

I have the same problem.