ruediger / VobSub2SRT

Converts VobSub subtitles (.idx/.srt format) into .srt subtitles.
GNU General Public License v3.0
293 stars 65 forks source link

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

Open jpsarda opened 3 years ago

jpsarda commented 3 years ago

I've tried to compile on Debian 10. I folloed the tutorial on the home page of the project, andI guet this error :

/tmp/VobSub2SRT-master# make
make -C build
make[1]: Entering directory '/tmp/VobSub2SRT-master/build'
make[2]: Entering directory '/tmp/VobSub2SRT-master/build'
make[3]: Entering directory '/tmp/VobSub2SRT-master/build'
make[3]: Leaving directory '/tmp/VobSub2SRT-master/build'
[ 50%] Built target mplayer
make[3]: Entering directory '/tmp/VobSub2SRT-master/build'
make[3]: Leaving directory '/tmp/VobSub2SRT-master/build'
make[3]: Entering directory '/tmp/VobSub2SRT-master/build'
[ 60%] Building CXX object src/CMakeFiles/vobsub2srt.dir/vobsub2srt.c++.o
In file included from /usr/include/c++/8/cinttypes:35,
                 from /usr/include/tesseract/host.h:30,
                 from /usr/include/tesseract/serialis.h:26,
                 from /usr/include/tesseract/baseapi.h:32,
                 from /tmp/VobSub2SRT-master/src/vobsub2srt.c++:27:
/usr/include/c++/8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \

There are much more errors after this, I only pasted the first one.

epilys commented 3 years ago

See https://github.com/ruediger/VobSub2SRT/issues/67#issuecomment-363196505