Closed meiyasan closed 6 months ago
$ clang --version
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Hello. Sorry to hear you experienced this issue. A configuration warning seems suspicious
-- Cling version (from VERSION file): ROOT_1.0~dev
CMake Warning at interpreter/cling/lib/Interpreter/CMakeLists.txt:278 (MESSAGE):
Cannot determine location of C++ headers for runtime.
Is any other ROOT version or any other series of CMake configuration working on your system?
Hi Danilo, yes indeed I was running ROOT 6.26.02. I just removed it, but compilation is still failing. The warning is still shown too. I wonder if this might not be related just to an issue with a specific AppleClang version.. (I have the last one installed) I don't need a specific version of ROOT, but I just some specific modules (not enabled by default.)
So, I tried to to install ROOT 6.31, first not working but due to a Net module issue. I removed ROOT 6.26.02 and the compilation is successful. Would you maybe consider adding a warning at the end of the cmake command if an existing ROOT is already loaded ? This might spare some times for other users in the future, maybe ?
You are night, we need to make sure that ROOT compiles if there is already ROOT on the system, or at least that you get a clear error.
There is already an open issue about this, so I'll close this issue as duplicate: https://github.com/root-project/root/issues/13101
Check duplicate issues.
Description
Hello, I am trying to install a new version of ROOT. I wonder if this is related to newly enabled features maybe ?
Reproducer
ROOT version
ROOT Version 6.26.10
Installation method
build from source
Operating system
macOS
Additional context
No response