Tmva-cuda compiling error

Hi,
I try to compile root v6.12.06 TMVA-CUDA on ubuntu but I got error. Please anyone could help me ?

This is the configuration phase:
<Dario.Moricciani@darioXPS:~/Software/build> cmake -Dgdml=ON -Dfortran=ON -Dcuda=ON -Dcxx14=ON -Dphythi6=…/General/pythia6 CMAKE_Fortran_COMPILER=/usr/bin/gfortran -DCMAKE_INSTALL_PREFIX=…/root_v6.12.06-source …/root-6.12.06/
– The C compiler identification is GNU 5.4.1
– The CXX compiler identification is GNU 5.4.1
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Looking for a Fortran compiler
– Looking for a Fortran compiler - /usr/bin/f95
– The Fortran compiler identification is GNU 5.4.1
– Check for working Fortran compiler: /usr/bin/gfortran
– Check for working Fortran compiler: /usr/bin/gfortran – works
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - done
– Checking whether /usr/bin/gfortran supports Fortran 90
– Checking whether /usr/bin/gfortran supports Fortran 90 – yes
– Found GCC. Major version 5, minor version 4
– c++11 mode requested but superseded by request for c++14 mode
– Performing Test HAS_CXX14
– Performing Test HAS_CXX14 - Success
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found a 64bit system
– Found GNU compiler collection
– Performing Test GLIBCXX_USE_CXX11_ABI
– Performing Test GLIBCXX_USE_CXX11_ABI - Success
– ROOT Platform: linux
– ROOT Architecture: linuxx8664gcc
– Build Type: RelWithDebInfo
– Compiler Flags: -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -fPIC -pthread -std=c++14 -O2 -g -DNDEBUG
– Looking for ZLib
– Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version “1.2.8”)
– Looking for Unuran
– Could NOT find UNURAN (missing: UNURAN_LIBRARY UNURAN_INCLUDE_DIR)
– Unuran not found. Switching on builtin_unuran option
– Looking for Freetype
– Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
– Looking for PCRE
– Found PCRE: /usr/include
– Looking for LZMA
– Found LZMA includes at /usr/include
– Found LZMA library at /usr/lib/x86_64-linux-gnu/liblzma.so
– Looking for LZ4
– LZ4 not found. Switching on builtin_lz4 option
– Building LZ4 version v1.7.5 included in ROOT itself
– Looking for X11
– Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
– Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
– Looking for gethostbyname
– Looking for gethostbyname - found
– Looking for connect
– Looking for connect - found
– Looking for remove
– Looking for remove - found
– Looking for shmat
– Looking for shmat - found
– Looking for IceConnectionNumber in ICE
– Looking for IceConnectionNumber in ICE - found
– Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
– X11_INCLUDE_DIR: /usr/include
– X11_LIBRARIES: /usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
– X11_Xpm_INCLUDE_PATH: /usr/include
– X11_Xpm_LIB: /usr/lib/x86_64-linux-gnu/libXpm.so
– X11_Xft_INCLUDE_PATH: /usr/include
– X11_Xft_LIB: /usr/lib/x86_64-linux-gnu/libXft.so
– X11_Xext_INCLUDE_PATH:
– X11_Xext_LIB: /usr/lib/x86_64-linux-gnu/libXext.so
– Performing Test GIF_GifFileType_UserData
– Performing Test GIF_GifFileType_UserData - Success
– Found GIF: /usr/lib/x86_64-linux-gnu/libgif.so (found version “4”)
– Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version “4.0.6”)
– Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version “1.2.54”)
– Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
– Building AfterImage library included in ROOT itself
– Looking for GSL
– Found GSL: /usr/include (found suitable version “2.1”, minimum required is “1.10”)
– Looking for Python
– Found PythonInterp: /usr/bin/python (found version “2.7.12”)
– Found Python interpreter version 2.7
– Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version “2.7.12”)
– Found NUMPY: /usr/lib/python2.7/dist-packages/numpy/core/include (found version “1.11.0”)
– Looking for OpenGL
– Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
– Looking for gl2ps
– Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
– gl2ps not found. Switching on builtin_gl2ps option
– Looking for LibXml2
– Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version “2.9.3”)
– Looking for OpenSSL
– Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version “1.0.2g”)
– Looking for Castor
– Could NOT find CASTOR (missing: CASTOR_shift_LIBRARY CASTOR_INCLUDE_DIR)
– Castor not found. Switching off castor option
– Looking for MySQL
– Found MYSQL: /usr/include/mysql
– Looking for Oracle
– Oracle not found.
– Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
– currently found includes:
– Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
– currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
– Oracle not found. Switching off oracle option
– Looking for PostgreSQL
– Could NOT find PostgreSQL (missing: POSTGRESQL_INCLUDE_DIR POSTGRESQL_LIBRARY)
– PostgreSQL not found. Switching off pgsql option
– Looking for SQLite
– Found PkgConfig: /usr/bin/pkg-config (found version “0.29.1”)
– Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
– SQLite not found. Switching off sqlite option
– Looking for Pythia6
– Looking for Pythia8
– Found Pythia8: /home/dario/Software/General/pythia8212/include
– Looking for FFTW3
– Found fftw3 includes at /usr/include
– Found fftw3 library at /usr/lib/x86_64-linux-gnu/libfftw3.so
– Looking for CFITSIO
– Found CFITSIO: /usr/include
– Found CFITSIO version: 3.37
– Looking for XROOTD
– XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
– Alternatively, you can also enable the option ‘builtin_xrootd’ to build XROOTD internally
– For the time being switching OFF ‘xrootd’ option
– Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
– GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
and the variable SRM_IFCE_DIR to the srm_ifce installation
– For the time being switching OFF ‘gfal’ option
– Looking for DAVIX
– Could NOT find DAVIX (missing: DAVIX_INCLUDE_DIR DAVIX_LIBRARY)
– Davix not found. You can enable the option ‘builtin_davix’ to build the library internally’
– For the time being switching off ‘davix’ option
– Looking for TBB
– Found TBB: /usr (found version “4.4”)
– Looking for CUDA for optional parts of TMVA
– Detected request for c++14, requiring minimum version CUDA 9.0 (default 7.5)
– Found CUDA: /usr/local/cuda (found suitable version “9.0”, minimum required is “9.0”)
– Looking for BLAS for optional parts of TMVA
– Looking for Fortran sgemm
– Looking for Fortran sgemm - found
– A library with BLAS API found.
– Enabled support for: asimage astiff builtin_afterimage builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_unuran cling cuda cxx14 exceptions explicitlink fftw3 fitsio fortran gdml genvector http imt mathmore mysql opengl pch pythia6 pythia8 python roofit root7 shared ssl thread tmva x11 xft xml
– The ASM compiler identification is GNU
– Found assembler: /usr/bin/cc
– Looking for backtrace
– Looking for backtrace - found
– backtrace facility detected in default set of libraries
– Found Backtrace: /usr/include
– Native target architecture is X86
– Threads disabled.
– Doxygen disabled.
– Go bindings disabled.
– Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
– Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
– OCaml bindings disabled.
– LLVM host triple: x86_64-unknown-linux-gnu
– LLVM default target triple: x86_64-unknown-linux-gnu
– Building with -fPIC
– Constructing LLVMBuild project information
fatal: Needed a single revision
– Linker detection: GNU ld
– SysLibs: rt;dl;tinfo;-lpthread;/usr/lib/x86_64-linux-gnu/libz.so
– Targeting X86
– Could NOT find Z3 (missing: Z3_LIBRARIES Z3_INCLUDE_DIR) (Required is at least version “4.5”)
– Clang version: 5.0.0
– Cling version (from VERSION file): ROOT_0.6~dev
– Cling will look for C++ headers in ‘/usr/include/c++/5:/usr/include/x86_64-linux-gnu/c++/5:/usr/include/c++/5/backward’ at runtime.
– And if not found, will invoke: ‘g+±5’ for them.
– Performing Test CXX_HAS_Wno_maybe_uninitialized
– Performing Test CXX_HAS_Wno_maybe_uninitialized - Success
– Performing Test CXX_HAS_fno_rtti
– Performing Test CXX_HAS_fno_rtti - Success
– Performing Test C_HAS_Wno_strict_overflow
– Performing Test C_HAS_Wno_strict_overflow - Success
– Performing Test C_HAS_Wno_maybe_uninitialized
– Performing Test C_HAS_Wno_maybe_uninitialized - Success
– Performing Test C_HAS_Wno_parentheses_equality
– Performing Test C_HAS_Wno_parentheses_equality - Success
– Performing Test CXX_HAS_Wno_delete_non_virtual_dtor
– Performing Test CXX_HAS_Wno_delete_non_virtual_dtor - Success
– Performing Test CXX_HAS_Wno_misleading_indentation
– Performing Test CXX_HAS_Wno_misleading_indentation - Success
– Performing Test CXX_HAS_Wno_overloaded_virtual
– Performing Test CXX_HAS_Wno_overloaded_virtual - Success
– Performing Test CXX_HAS_fno_strict_aliasing
– Performing Test CXX_HAS_fno_strict_aliasing - Success
– Performing Test CXX_HAS_Wno_parentheses_equality
– Performing Test CXX_HAS_Wno_parentheses_equality - Success
– Performing Test found_setresuid
– Performing Test found_setresuid - Success
– Performing Test found_stdstringview
– Performing Test found_stdstringview - Failed
– Performing Test found_stdexpstringview
– Performing Test found_stdexpstringview - Success
– Performing Test found_stod_stringview
– Performing Test found_stod_stringview - Failed
– Performing Test found_stdapply
– Performing Test found_stdapply - Failed
– Performing Test found_stdinvoke
– Performing Test found_stdinvoke - Failed
– Performing Test found_attribute_always_inline
– Performing Test found_attribute_always_inline - Success
Running /home/dario/Software/root-6.12.06/build/unix/compiledata.sh
Making /home/dario/Software/build/include/compiledata.h
– Configuring done
– Generating done
– Build files have been written to: /home/dario/Software/build
<Dario.Moricciani@darioXPS:~/Software/build>
<Dario.Moricciani@darioXPS:~/Software/build>

This is the error which I got :
[ 80%] Building NVCC (Device) object tmva/tmva/CMakeFiles/dnn_cuda.dir/src/DNN/Architectures/dnn_cuda_generated_Cuda.cu.o
/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h(436): error: identifier “nullptr” is undefined

/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h(436): error: expected a “;”

/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h(200): error: expected a “;”

/usr/include/c++/5/exception(63): error: expected a “;”

/usr/include/c++/5/exception(68): error: expected a “;”

/usr/include/c++/5/exception(76): error: expected a “;”

/usr/include/c++/5/exception(83): error: expected a “;”

/usr/include/c++/5/exception(93): error: expected a “{”

/usr/include/c++/5/bits/exception_ptr.h(64): error: function “std::current_exception” returns incomplete type “std::__exception_ptr::exception_ptr”

/usr/include/c++/5/bits/exception_ptr.h(64): error: expected a “{”

/usr/include/c++/5/bits/exception_ptr.h(79): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(81): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(82): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(84): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(86): error: declaration is incompatible with previous “std::current_exception”
(64): here

/usr/include/c++/5/bits/exception_ptr.h(86): error: use of a local type to declare a function

/usr/include/c++/5/bits/exception_ptr.h(86): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(87): error: use of a local type to declare a function

/usr/include/c++/5/bits/exception_ptr.h(90): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(92): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(95): error: incomplete type is not allowed

/usr/include/c++/5/bits/exception_ptr.h(95): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(116): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(126): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(143): error: use of a local type to declare a function

/usr/include/c++/5/bits/exception_ptr.h(144): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(147): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(152): error: use of a local type to declare a function

/usr/include/c++/5/bits/exception_ptr.h(153): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(156): error: use of a local type to declare a function

/usr/include/c++/5/bits/exception_ptr.h(157): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(160): error: use of a local type to declare a function

/usr/include/c++/5/bits/exception_ptr.h(161): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(169): error: expected a “;”

/usr/include/c++/5/bits/exception_ptr.h(195): error: expected a “;”

/usr/include/c++/5/bits/nested_exception.h(57): error: incomplete type is not allowed

/usr/include/c++/5/bits/nested_exception.h(60): error: expected a “;”

/usr/include/c++/5/bits/nested_exception.h(64): error: expected a “;”

/usr/include/c++/5/bits/nested_exception.h(66): error: expected a “;”

/usr/include/c++/5/bits/nested_exception.h(78): error: expected a “;”

/usr/include/c++/5/bits/nested_exception.h(73): error: identifier “rethrow_exception” is undefined

/usr/include/c++/5/bits/nested_exception.h(74): error: namespace “std” has no member “terminate”

/usr/include/c++/5/new(96): error: expected a “{”

/usr/include/c++/5/new(111): error: allocation operator may not be declared in a namespace

/usr/include/c++/5/new(113): error: allocation operator may not be declared in a namespace

/usr/include/c++/5/new(115): error: deallocation operator may not be declared in a namespace

/usr/include/c++/5/new(115): error: expected a “{”

/usr/include/c++/5/new(130): error: identifier “__p” is undefined

/usr/include/c++/5/new(131): error: allocation operator may not be declared in a namespace

/usr/include/c++/5/new(131): error: expected a “{”

/usr/include/c++/5/new(135): error: deallocation operator may not be declared in a namespace

/usr/include/c++/5/new(135): error: expected a “{”

/usr/include/c++/5/new(136): error: deallocation operator may not be declared in a namespace

/usr/include/c++/5/new(136): error: expected a “{”

/usr/include/c++/5/bits/cpp_type_traits.h(185): error: identifier “char16_t” is undefined

/usr/include/c++/5/bits/cpp_type_traits.h(192): error: identifier “char32_t” is undefined

/usr/include/c++/5/bits/cpp_type_traits.h(192): error: class “std::__is_integer<>” has already been defined

/usr/include/c++/5/bits/cpp_type_traits.h(344): error: namespace “std::__gnu_cxx” has no member “__normal_iterator”

/usr/include/c++/5/bits/cpp_type_traits.h(344): error: expected a “>”

/usr/include/c++/5/ext/type_traits.h(159): error: inline specifier allowed on function declarations only

/usr/include/c++/5/ext/type_traits.h(160): error: declaration is incompatible with overloaded function “__gnu_cxx::__is_null_pointer”
(150): here

/usr/include/c++/5/ext/type_traits.h(160): error: namespace “std” has no member “nullptr_t”

/usr/include/c++/5/ext/type_traits.h(161): error: expected a “;”

/usr/include/c++/5/ext/type_traits.h(173): error: a template argument list is not allowed in a declaration of a primary template

/usr/include/c++/5/ext/type_traits.h(177): error: __promote is not a template

/usr/include/c++/5/ext/type_traits.h(181): error: __promote is not a template

/usr/include/c++/5/ext/type_traits.h(185): error: __promote is not a template

/usr/include/c++/5/ext/type_traits.h(189): error: __promote is not a template

/usr/include/c++/5/ext/type_traits.h(189): error: expected a “>”

/usr/include/c++/5/ext/type_traits.h(189): error: the global scope has no “__type”

/usr/include/c++/5/ext/type_traits.h(197): error: __promote is not a template

/usr/include/c++/5/ext/type_traits.h(197): error: expected a “>”

/usr/include/c++/5/ext/type_traits.h(197): error: the global scope has no “__type”

/usr/include/c++/5/ext/type_traits.h(206): error: __promote is not a template

/usr/include/c++/5/ext/type_traits.h(206): error: expected a “>”

/usr/include/c++/5/ext/type_traits.h(206): error: the global scope has no “__type”

/usr/include/c++/5/cmath(80): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(80): error: expected a “;”

/usr/include/c++/5/cmath(105): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(105): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(105): error: expected a “;”

/usr/include/c++/5/cmath(124): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(124): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(124): error: expected a “;”

/usr/include/c++/5/cmath(143): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(143): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(143): error: expected a “;”

/usr/include/c++/5/cmath(162): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(162): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(162): error: expected a “;”

/usr/include/c++/5/cmath(183): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(183): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(183): error: expected a “;”

/usr/include/c++/5/cmath(202): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(202): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(202): error: expected a “;”

/usr/include/c++/5/cmath(221): error: inline specifier allowed on function declarations only

/usr/include/c++/5/cmath(221): error: variable “std::constexpr” has already been defined

/usr/include/c++/5/cmath(221): error: expected a “;”

/usr/include/c++/5/cmath(240): error: inline specifier allowed on function declarations only

Error limit reached.
100 errors detected in the compilation of “/tmp/tmpxft_0000431d_00000000-6_Cuda.cpp1.ii”.
Compilation terminated.
CMake Error at dnn_cuda_generated_Cuda.cu.o.cmake:268 (message):
Error generating file
/home/dario/Software/build/tmva/tmva/CMakeFiles/dnn_cuda.dir/src/DNN/Architectures/./dnn_cuda_generated_Cuda.cu.o

tmva/tmva/CMakeFiles/dnn_cuda.dir/build.make:63: recipe for target ‘tmva/tmva/CMakeFiles/dnn_cuda.dir/src/DNN/Architectures/dnn_cuda_generated_Cuda.cu.o’ failed
make[2]: *** [tmva/tmva/CMakeFiles/dnn_cuda.dir/src/DNN/Architectures/dnn_cuda_generated_Cuda.cu.o] Error 1
CMakeFiles/Makefile2:28580: recipe for target ‘tmva/tmva/CMakeFiles/dnn_cuda.dir/all’ failed
make[1]: *** [tmva/tmva/CMakeFiles/dnn_cuda.dir/all] Error 2
Makefile:149: recipe for target ‘all’ failed
make: *** [all] Error 2
<Dario.Moricciani@darioXPS:~/Software/build>

This might be an issue with cuda and c++14. Try configure with -Dcxx11=on -Dcxx14=off.

Cheers,
Kim

[ 46%] Building CXX object core/cont/CMakeFiles/Cont.dir/src/TRefTable.cxx.o
In file included from /usr/include/c++/5/experimental/string_view:39:0,
from /home/dario/Software/build/include/RStringView.h:24,
from /home/dario/Software/build/include/TString.h:28,
from /home/dario/Software/build/include/TCollection.h:29,
from /home/dario/Software/build/include/TSeqCollection.h:25,
from /home/dario/Software/build/include/TObjArray.h:25,
from /home/dario/Software/root-6.12.06/core/cont/src/TRefTable.cxx:42:
/usr/include/c++/5/bits/c++14_warning.h:32:2: error: #error This file requires compiler and library support for the forthcoming ISO C++ 2014 standard. This support is currently experimental, and must be enabled with the -std=c++1y or -std=gnu++1y compiler options.
#error This file requires compiler and library support for the forthcoming
^
[ 46%] Building CXX object interpreter/llvm/src/lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamRef.cpp.o
In file included from /home/dario/Software/build/include/TString.h:28:0,
from /home/dario/Software/build/include/TCollection.h:29,
from /home/dario/Software/build/include/TSeqCollection.h:25,
from /home/dario/Software/build/include/TObjArray.h:25,
from /home/dario/Software/root-6.12.06/core/cont/src/TRefTable.cxx:42:
/home/dario/Software/build/include/RStringView.h:32:37: error: ‘experimental’ in namespace ‘std’ does not name a type
using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
^
/home/dario/Software/build/include/RStringView.h:35:12: error: ‘basic_string_view’ does not name a type
typedef basic_string_view string_view;
^
/home/dario/Software/build/include/RStringView.h:36:12: error: ‘basic_string_view’ does not name a type
typedef basic_string_view<char16_t> u16string_view;
^
/home/dario/Software/build/include/RStringView.h:37:12: error: ‘basic_string_view’ does not name a type
typedef basic_string_view<char32_t> u32string_view;
^
/home/dario/Software/build/include/RStringView.h:38:12: error: ‘basic_string_view’ does not name a type
typedef basic_string_view<wchar_t> wstring_view;
^
/home/dario/Software/build/include/RStringView.h:48:28: error: ‘std::stod’ declared as an ‘inline’ variable
inline double stod(std::string_view str, size_t *pos)
^
/home/dario/Software/build/include/RStringView.h:48:23: error: ‘string_view’ is not a member of ‘std’
inline double stod(std::string_view str, size_t pos)
^
/home/dario/Software/build/include/RStringView.h:48:52: error: expected primary-expression before ‘
’ token
inline double stod(std::string_view str, size_t *pos)
^
/home/dario/Software/build/include/RStringView.h:48:53: error: ‘pos’ was not declared in this scope
inline double stod(std::string_view str, size_t *pos)
^
/home/dario/Software/build/include/RStringView.h:48:56: error: expression list treated as compound expression in initializer [-fpermissive]
inline double stod(std::string_view str, size_t *pos)
^
/home/dario/Software/build/include/RStringView.h:49:4: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
/home/dario/Software/build/include/RStringView.h:67:17: error: expected type-specifier
operator std::string_view() const { return std::string_view(fData,fLength); }
^
In file included from /home/dario/Software/build/include/TCollection.h:29:0,
from /home/dario/Software/build/include/TSeqCollection.h:25,
from /home/dario/Software/build/include/TObjArray.h:25,
from /home/dario/Software/root-6.12.06/core/cont/src/TRefTable.cxx:42:
/home/dario/Software/build/include/TString.h:104:13: error: expected type-specifier
operator std::string_view() const { return std::string_view(Data(),fExtent); }
^
/home/dario/Software/build/include/TString.h:257:23: error: ‘string_view’ in namespace ‘std’ does not name a type
TString(const std::string_view &sub);
^
/home/dario/Software/build/include/TString.h:293:37: error: ‘string_view’ in namespace ‘std’ does not name a type
TString &operator=(const std::string_view &s);
^
/home/dario/Software/build/include/TString.h:420:9: error: ‘string_view’ in namespace ‘std’ does not name a type
std::string_view View() const { return std::string_view(GetPointer(),Length()); }
^
In file included from /home/dario/Software/build/include/TCollection.h:29:0,
from /home/dario/Software/build/include/TSeqCollection.h:25,
from /home/dario/Software/build/include/TObjArray.h:25,
from /home/dario/Software/root-6.12.06/core/cont/src/TRefTable.cxx:42:
/home/dario/Software/build/include/TString.h:785:53: error: ‘string_view’ in namespace ‘std’ does not name a type
inline Bool_t operator==(const char s1, const std::string_view &s2)
^
/home/dario/Software/build/include/TString.h:785:68: error: ‘Bool_t operator==(const char
, const int&)’ must have an argument of class or enumerated type
inline Bool_t operator==(const char *s1, const std::string_view &s2)
^
/home/dario/Software/build/include/TString.h:790:37: error: ‘string_view’ in namespace ‘std’ does not name a type
inline Bool_t operator==(const std::string_view &s1, const char s2)
^
/home/dario/Software/build/include/TString.h:790:68: error: ‘Bool_t operator==(const int&, const char
)’ must have an argument of class or enumerated type
inline Bool_t operator==(const std::string_view &s1, const char s2)
^
/home/dario/Software/build/include/TString.h:803:37: error: ‘string_view’ in namespace ‘std’ does not name a type
std::string printValue(const std::string_view
val);
^
[ 46%] Building CXX object interpreter/llvm/src/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o
core/cont/CMakeFiles/Cont.dir/build.make:86: recipe for target ‘core/cont/CMakeFiles/Cont.dir/src/TRefTable.cxx.o’ failed
make[2]: *** [core/cont/CMakeFiles/Cont.dir/src/TRefTable.cxx.o] Error 1
CMakeFiles/Makefile2:15697: recipe for target ‘core/cont/CMakeFiles/Cont.dir/all’ failed
make[1]: *** [core/cont/CMakeFiles/Cont.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

You’re still compiling with cxx14 I think.

Cheers,
Kim