Error in compiling root v6-08-06

Dear all,
I am trying to install root v6-08-06 on Mac Os X 10.12.6.
g++ --version gives:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

cmake --version gives:
cmake version 3.9.3

Here is the error at make step:

56%] Building CXX object core/metautils/CMakeFiles/MetaUtils.dir/src/RConversionRuleParser.cxx.o
In file included from /Users/mbomben/work/root/core/metautils/src/RConversionRuleParser.cxx:6:
In file included from /Users/mbomben/work/root/build/include/TMetaUtils.h:74:
In file included from /Users/mbomben/work/root/build/include/TClassEdit.h:67:
/Users/mbomben/work/root/build/include/RStringView.h:35:12: error: unknown type
name 'basic_string_view’
typedef basic_string_view string_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:35:29: error: expected
unqualified-id
typedef basic_string_view string_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:36:12: error: unknown type
name 'basic_string_view’
typedef basic_string_view<char16_t> u16string_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:36:29: error: expected
unqualified-id
typedef basic_string_view<char16_t> u16string_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:37:12: error: unknown type
name 'basic_string_view’
typedef basic_string_view<char32_t> u32string_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:37:29: error: expected
unqualified-id
typedef basic_string_view<char32_t> u32string_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:38:12: error: unknown type
name 'basic_string_view’
typedef basic_string_view<wchar_t> wstring_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:38:29: error: expected
unqualified-id
typedef basic_string_view<wchar_t> wstring_view;
^
/Users/mbomben/work/root/build/include/RStringView.h:50:28: error: no member
named ‘to_string’ in 'std::__1::basic_string_view<char,
std::__1::char_traits >'
return std::stod(str.to_string(),pos);
~~~ ^
9 errors generated.
make[2]: *** [core/metautils/CMakeFiles/MetaUtils.dir/src/RConversionRuleParser.cxx.o] Error 1
make[1]: *** [core/metautils/CMakeFiles/MetaUtils.dir/all] Error 2
make: *** [all] Error 2

Am I missing something?

Many thanks in advance and best regards,
Marco Bomben

Hi, the problem is fixed in master, I’m not sure if there will be a backport to 6.08, maybe @pcanal knows.

You can also cross reference with:




Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.