configure: error: *** A compiler with support for C++14 language features is required.
Hi, I am getting this error :
checking whether g++-5 supports C++14 features by default... no
checking whether g++-5 supports C++14 features with -std=c++14... no
checking whether g++-5 supports C++14 features with -std=c++1y... no
configure: error: *** A compiler with support for C++14 language features is required.
vlc: configure failed
so I install gcc-5
to solve the issue and add the CC="g++-5"
to the configure command :
sh ../configure CXX='g++-5' --host=$TARGET_TUPLE --build=x86_64-unknown-linux \
${EXTRA_PARAMS} ${VLC_CONFIGURE_ARGS} ${OPTS}
and add -std=c++14
to the CXX
export CXX="${TIZEN_TOOLS}g++ ${TIZEN_FLAGS} -std=c++14 "
but it still failing, here my gcc-5 version
nassimus@DESKTOP-ML04P5U:/mnt/c/Users/cd_bo/StudioProjects/vlc-tizen$ gcc-5 -v
Using built-in specs.
COLLECT_GCC=gcc-5
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1)
nassimus@DESKTOP-ML04P5U:/mnt/c/Users/cd_bo/StudioProjects/vlc-tizen$