Hello, I am running Ubuntu 22 on a Window machine (using WSL1… cannot go with WSL2)
I am facing an issue I wasn’t able to tackle…
[ 74%] Generating G__RIO.cxx, ../../lib/libRIO.rootmap
Consolidate compiler generated dependencies of target cppyy2_7
Consolidate compiler generated dependencies of target cppyy3_10
In file included from <built-in>:418:
<command line>:1:9: error: macro name must be an identifier
#define -compilerI/usr/include/c++/11 1
^
In file included from input_line_3:2:
In file included from /home/marcomeyer/Software/root/6.26.06-build/include/Rtypes.h:23:
In file included from /home/marcomeyer/Software/root/6.26.06-build/include/RtypesCore.h:28:
In file included from /usr/include/c++/11/cstddef:50:
/home/marcomeyer/Software/root/6.26.06-build/etc/cling/lib/clang/9.0.1/include/stddef.h:35:9: error: unknown type name '__PTRDIFF_TYPE__'
typedef __PTRDIFF_TYPE__ ptrdiff_t;
^
/home/marcomeyer/Software/root/6.26.06-build/etc/cling/lib/clang/9.0.1/include/stddef.h:46:9: error: unknown type name '__SIZE_TYPE__'
typedef __SIZE_TYPE__ size_t;
^
/home/marcomeyer/Software/root/6.26.06-build/etc/cling/lib/clang/9.0.1/include/stddef.h:74:9: error: unknown type name '__WCHAR_TYPE__'
typedef __WCHAR_TYPE__ wchar_t;
^
In file included from input_line_3:2:
In file included from /home/marcomeyer/Software/root/6.26.06-build/include/Rtypes.h:28:
In file included from /home/marcomeyer/Software/root/6.26.06-build/include/strtok.h:6:
/usr/include/c++/11/cstring:75:1: error: unknown type name '_GLIBCXX_BEGIN_NAMESPACE_VERSION'
_GLIBCXX_BEGIN_NAMESPACE_VERSION
^
/usr/include/c++/11/cstring:77:3: error: expected unqualified-id
using ::memchr;
^
/usr/include/c++/11/cstring:122:1: error: unknown type name '_GLIBCXX_END_NAMESPACE_VERSION'
_GLIBCXX_END_NAMESPACE_VERSION
^
/usr/include/c++/11/cstring:123:1: error: expected unqualified-id
} // namespace
^
Would you have an idea how to fix this ?
Sadly there is no ARM precompiled root