Re: [ROOT] From Sudeep Chatterji

From: Nicolas Arnaud (narnaud@lal.in2p3.fr)
Date: Wed Jan 14 2004 - 14:34:54 MET


Hi,

At the beginning of the file tree4.C you can find the following lines:

#if defined(__CINT__) && !defined(__MAKECINT__)
#include "../test/libEvent.so"
#else
#include "../test/Event.h"
#endif

This means that the code needs a library built from the file Event.cxx in the test/ 
directory

So :
	1) copy the directory $ROOTSYS/test in the directory where the tutorials/ directory is

	2) compile the test directory:
cd test/
gmake

	3) re-execute your file
cd ../tutorials
root tree4.C

and everything should work!

Cheers,

Nicolas

--On mercredi 14 janvier 2004 13:14 +0100 Sudeep Chatterji <sudeep.chatterji@cern.ch> 
wrote:

> Hi
>    I am facing one probem  in running one program given in $ROOTSYS/tutorials. The name
> of the file is tree4.C. When I am executing this file, I am getting the following
> error.     "Can't Open file libEvent.dl"
> I searched for this file but could not find.
> Please guide what should I do?
> Regards,
> Sudeep Chatterji
>



==========================================
= Nicolas Arnaud                         =
= BaBaR Group                            =
= Tel: + 33 1 64 46 83 20                =
= Fax: + 33 1 64 46 85 46                =
= Laboratoire de l'Accelerateur Lineaire =
= Universite Paris Sud                   =
= Batiment 200 - BP 34                   =
= 91898 Orsay cedex - France             =
==========================================



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET