| Summary: | Error viewing 2D histograms in Root | ||
|---|---|---|---|
| Product: | Examples/Extended | Reporter: | Evan <evanrand> |
| Component: | eventgenerator/exgps | Assignee: | Sebastien Incerti <incerti> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | kelsey, Marc.Verderi |
| Priority: | P5 | ||
| Version: | 9.6 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Evan
2013-07-09 20:03:53 CEST
Looks like a library mismatch. Assigning to responsible in in2p3... As Gabriele Cosmo noted, your error is due to a ROOT version mismatch. The version of ROOT you used when compiling and linking your application is more recent than the version you are launching to view the resulting output. This is a user environment issue, not Geant4 nor ROOT. To resolve it, look at the envvars PATH, LD_LIBRARY_PATH, and ROOTSYS. The first two should both include a directory path to the _same_ ROOT version referenced in the last one. On my system (MacOS), I have: % echo $PATH /usr/local/ROOT/5.30-04/bin:/Users/kelsey/geant4_workdir/bin/Darwin-g++: [...] $ echo $DYLD_LIBRARY_PATH /usr/local/ROOT/5.30-04/lib:/Users/kelsey/geant4/g4_SVN/geant4.9.6/lib: [...] % echo $ROOTSYS /usr/local/ROOT/5.30-04 You will probably find that in your PATH and LD_LIBRARY_PATH variables, you are referencing different versions, or that you maybe have two versions is each path, but in different order. Request taken into account; the VMware machine contains ROOT version 5.34.03. |