Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#error -- unsupported GNU version! gcc versions later than 6 are not supported! ^~~~~ CMake Error at warpctc_generated_reduce.cu.o.cmake:219 (message): Error generating /home/rice/warp-ctc/build/CMakeFiles/warpctc.dir/src #77

Closed
Aurora11111 opened this issue Aug 6, 2018 · 4 comments

Comments

@Aurora11111
Copy link

Aurora11111 commented Aug 6, 2018

when I run main_crnn.py I court this issue:
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
CMake Error at warpctc_generated_reduce.cu.o.cmake:219 (message):
Error generating
/home/rice/warp-ctc/build/CMakeFiles/warpctc.dir/src
uninstall all the cuda ,cudnn,gcc .cmake
reinstall cuda(it contains cudnn,gcc,cmake)

@Aurora11111
Copy link
Author

Aurora11111 commented Aug 9, 2018

[ 11%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o
sh: cicc: command not found
CMake Error at warpctc_generated_reduce.cu.o.cmake:279 (message):
Error generating file
/home/rice/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_reduce.cu.o

make[2]: *** [CMakeFiles/warpctc.dir/build.make:256: CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/warpctc.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Now,I work it out! just uninstall all the cuda ,cudnn,gcc .cmake
reinstall cuda(it contains cudnn,gcc,cmake)

@ritwikmishra
Copy link

Instead of uninstalling/reinstalling gcc, I found this more useful.

@aa-amory
Copy link

Instead of uninstalling/reinstalling gcc, I found this more useful.

I have tried this solution on colab but still not working!!

!pwd
%cd /content
!git clone -b pytorch_bindings https://github.com/SeanNaren/warp-ctc.git
%cd /content/warp-ctc
!mkdir build
%cd /content/warp-ctc/build
#!cmake ..
!cmake -D CMAKE_C_COMPILER:string=gcc-5 -D CMAKE_CXX_COMPILER=g++-5 ../
!make

@ritwikmishra
Copy link

Instead of uninstalling/reinstalling gcc, I found this more useful.

I have tried this solution on colab but still not working!!

!pwd
%cd /content
!git clone -b pytorch_bindings https://github.com/SeanNaren/warp-ctc.git
%cd /content/warp-ctc
!mkdir build
%cd /content/warp-ctc/build
#!cmake ..
!cmake -D CMAKE_C_COMPILER:string=gcc-5 -D CMAKE_CXX_COMPILER=g++-5 ../
!make

what is the error you are observing on Google and on your local?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants