Hi,
On Fri, 2004-10-15 at 12:23 +0200, Ivana Hrivnacova wrote:
> Hi David,
>
> You have also the possibility to use Root classes in your
> program without using CINT.
> You just need to add Root includes to the include path:
> -I$(ROOTSYS)/include
Actually it's better to do `root-config --incdir', similar to
`root-config --libs'
> and link your program with Root libraries; the list
> of libraries can be produced via root-config program:
> root-config --glibs
Most of the time you don't need to link to the graphics libraries due to
the various `TVirtual...' classes in ROOT, so I think you're better off
using `root-config --libs' than `root-config --glibs' (which also links
against the graphics libraries).
Yours,
--
___ | Christian Holm Christensen
|_| | -------------------------------------------------------------
| | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
_| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91
_| Denmark Office: (+45) 353 25 404
____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
| |
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET