...
- Create a directory where you will run ROOT and
cd
to it. - Download the
CompiledRootAnalysis
template package, e.g.,
wget http://mgwilson.web.cern.ch/mgwilson/Software/CompiledRootAnalysis_V01.tgz
tar -xzvf CompiledRootAnalysis_V01.tgz
- 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. CompiledRootAnalysis/scripts/RenamePackage.sh
cd <package>; gmake dylibshlib; gmake apps; gmake setup; cd ..
Note: If you want to use MacOS, domake dylib; make macapps
instead- Execute the
bin/example
application to see that it runs correctly. - 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.
Anchor | ||||
---|---|---|---|---|
|
...