root 6.18.04, 6.20.02
I have a problem, it seems, with headers:
In file included from /Applications/HEPsoft/root_6.2/include/TMathBase.h:32:
no member named 'isless' in the global namespace
I found that this problem was reported a few months ago but was fixed in the last versions of ROOT. What I’m doing wrong?
Is it the latest version of Xcode?
Yes, version 11.4 (11E146).
So maybe a MacOS user (
@couet @Axel) could have an idea?
I have :
And I do not see this problem
But it doesn’t solve my problem
I tested the issue with different versions of cmake - 3.15 and 3.17 from homebrew - the same problem …
As you have a new version of Xcode may be you need to do:
$ xcode-select --install
@Axel should know better.
Of course it was done already…
I am experiencing a very similar problem, as already communicated in the following topic
_ROOT Version: root-6.20.00
_Platform: macOS Catilina 10.15.3
_Compiler: Apple clang version 11.0.0 (clang-1184.108.40.206)
I’m tying to compile ROOT v6.20.00 on a Catilina 10.15.3 os.
According to this post
this version should have fixed the location in which cling looks for headers.
However, the result of issueing
~> cmake -DCMAKE_CXX_STANDARD=14 …/root-6.20.00
– Clang version: 5.0.0
– Cling version (from VERSION file): ROOT_0.7~dev
– Cling will look for C++ hea…
The issue could be related.
As for aguskov, I am using the latest 11.4 (11E146) version of Xcode
Thank you for any suggestions!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
Are you building your own binary? If so, how? Or do you see this when building ROOT itself?
From Alexey (before I reopened the topic):
No, I have this problem in compilation ROOT itself.
And I still have it with the last Xcode.
That’s really curious. Could you share your CMakeCache.txt, please?
Can you invoke
make Core VERBOSE=1 > foraxel.txt 2>&1 and post
OK thanks. Can you send
cd /Users/aguskov/Downloads/test/core/base && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -I/Users/aguskov/Downloads/root-6.20.04/core/base/res -I/Users/aguskov/Downloads/root-6.20.04/core/base/../foundation/res -I/Users/aguskov/Downloads/root-6.20.04/core/base/inc -I/Users/aguskov/Downloads/test/include -I/usr/local/include -std=c++11 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O2 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fPIC -std=c++11 -E /Users/aguskov/Downloads/root-6.20.04/core/base/src/String.cxx > ~/out.txt 2>&1
Is any chance to solve the problem?