SeanNaren / warp-ctc

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

#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #195

Open justinge opened 2 years ago

justinge commented 2 years ago

(base) [jianming_ge@localhost build]$ make .. (base) [jianming_ge@localhost build]$ cmake .. -- cuda found TRUE -- Building shared library with GPU support -- Configuring done -- Generating done -- Build files have been written to: /home/jianming_ge/software/warp-ctc-pytorch_bindings/warp-ctc-pytorch_bindings/build (base) [jianming_ge@localhost build]$ pwd /home/jianming_ge/software/warp-ctc-pytorch_bindings/warp-ctc-pytorch_bindings/build (base) [jianming_ge@localhost build]$ make [ 16%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/./warpctc_generated_ctc_entrypoint.cu.o nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored. In file included from /usr/include/c++/4.8.2/tuple:35:0, from /home/jianming_ge/software/warp-ctc-pytorch_bindings/warp-ctc-pytorch_bindings/include/detail/cpu_ctc.h:3, from /home/jianming_ge/software/warp-ctc-pytorch_bindings/warp-ctc-pytorch_bindings/src/ctc_entrypoint.cu:7: /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: 错误:#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

error This file requires compiler and library support for the \

^ CMake Error at warpctc_generated_ctc_entrypoint.cu.o.cmake:206 (message): Error generating /home/jianming_ge/software/warp-ctc-pytorch_bindings/warp-ctc-pytorch_bindings/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_ctc_entrypoint.cu.o

SCP-KAKA commented 1 year ago

请问这个问题解决了吗,怎么处理的?