Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a directory where you will run ROOT and cd to it.
  2. Download the CompiledRootAnalysis template package, e.g.,
    wget http://mgwilson.web.cern.ch/mgwilson/Software/CompiledRootAnalysis_V01.tgz
  3. tar -xzvf CompiledRootAnalysis_V01.tgz
  4. Edit the top of CompiledRootAnalysis/scripts/RenamePackage.sh with a new package name and namespace for the code in
    your package; this will be denoted <package> below.
  5. CompiledRootAnalysis/scripts/RenamePackage.sh
  6. cd <package>; gmake shlib; gmake apps; gmake setup; cd ..
    Note 1: If you want to use MacOS, do make dylib; make macapps instead.
    Note 2: To see what commands are being executed during the compilation, delete the @ symbols preceding the commands
    in the GNUmakefile.
  7. Execute the bin/example application to see that it runs correctly.
  8. Start a root session to see that the shared library is loaded correctly. All of the classes and methods
    compiled in this package are available on the ROOT command line.

...