Skip to content

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

@Moelf

Description

@Moelf

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions