Skip to content
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

Compilation error with ROOT.jl-generator and added classes #29

Open
Moelf opened this issue Mar 5, 2025 · 0 comments
Open

Compilation error with ROOT.jl-generator and added classes #29

Moelf opened this issue Mar 5, 2025 · 0 comments

Comments

@Moelf
Copy link
Member

Moelf commented Mar 5, 2025

Discussed in #28

Originally posted by achjaj March 5, 2025
Hi,

I'm trying to add TGraph2D and TGraph2DErrors classes to my ROOT.jl using ROOT.jl-generator. I added the coresponding header files to ROOT.wit.in and tried to generate and compile ROOT.jl using the genandbuild.sh script. Unfortunately I got this error:

Failed to precompile ROOT [1706fdcc-8426-44f1-a283-5be479e9517c] to "$HOME/.julia/compiled/v1.11/ROOT/jl_rpYWce".
C++ exception while wrapping module ROOT: No appropriate factory for type 11TTreeReader
ERROR: LoadError: No appropriate factory for type 11TTreeReader

I tried the compilation without the added header files and I also tried different ROOT versions, but nothing helped.
My current setup is:

  • Julia 1.11.3 (2025-01-21)
  • ROOT 6.30/04 (Built for linuxx8664gcc on Apr 28 2024, 20:44:39)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant