-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conflict with installed nlohman/json #14634
Comments
@linev might be interested, he fixed a couple of issue with |
Just to understand - is ROOT compiled with external or builtin Strange that |
I used default options, so
yes, that's strange. I haven't checked the diff between 3.10.5 and 3.10.4. |
And seems to be, starting from llvm13 and root 6.30 use of the I will do several more checks and probably just remove it's usage from master and 6.30 branches. |
I remove usage of |
Check duplicate issues.
Description
I have a compilation error in the case with an existing version of the nlohmann library
I believe this is cause by the fact that the installed version is v3.10.4 (which doesn't have
json_fwd.h
). Relevant bits of code:REveElement.hxx
contains a work-around ifjson_fwd.h
is not found, i.e. it defines its own.I believe the latter is causing the problem: somehow the existing (old)
json.h
has been read, and then creates a conflict with this definition.I think this work-around needs to be removed. Possibly the easiest is to just require a more recent version.
Reproducer
install old version and try to build ROOT
ROOT version
I tried with v6-28-12 and 3-13.-3 with gcc-11.
Installation method
compile from source
Operating system
Ubuntu 22.04
Additional context
There is no problem with v6-26-10
The text was updated successfully, but these errors were encountered: