Hi Raymond,
Attached you find the .rootrc I use myself on my win98 laptop.
Hope this helps.
Note that I have installed ROOT in c:\root
Cheers,
Nick.
--
Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
--------------------------------------------------------------------------
Org.: Utrecht University/Nikhef, Department of Subatomic Physics
Address: P.O. Box 80.000, NL-3508 TA Utrecht, The Netherlands
Phone: +31-30-2532331(direct) +31-30-2531492(secr.) Fax: +31-30-2518689
NIKHEF: +31-20-5922028(direct) +31-20-5922000(secr.) Fax: +31-20-5925155
CERN: +41-22-7679751(direct) +41-22-7675857(secr.) Fax: +41-22-7679480
Offices: Buys Ballot lab. 710 (Utrecht) H350 (Nikhef) B23 1-020 (CERN)
--------------------------------------------------------------------------
Raymond Beuselinck wrote:
>
> Hi,
>
> I searched in the roottalk archive for the problem I have encountered and I see
> that it has been discussed before, but there did not seem to be any clear
> resolution as far as I could see.
>
> I installed root version 2.25/03 on my NT desktop at work which seems to work
> fine if I set the ROOTSYS variable and add %ROOTSYS%\bin to my PATH.
>
> I installed exactly the same version on my laptop which is running Windows 98
> and find that root does not work correctly unless I am running it from the
> directory containing the binaries. The problem is not in finding root.exe but
> in finding the .dll files which are in that directory.
>
> There was some discussion in roottalk about .rootrc files and setting the
> dynamic path correctly but I could not find a definitive answer to tell me how
> to make root work sensibly under win98, i.e.
>
> 1. What should the necessary configuration file be called ?
> 2. Which directory should it be in ?
> 3. What must it contain to be able to find the .dll files from anywhere ?
>
> The zip file containing the windows 95/98/NT version has a file called
> system.rootrc (not just .rootrc) located in the top level directory
> ( %ROOTSYS% ) which contains the following lines:
>
> # Path used by dynamic loader to find shared libraries and macros
> # Paths are different for Unix and Windows. The example shows the defaults
> # for all ROOT applications for either Unix or Windows.
> Unix.*.Root.DynamicPath: .:$(ROOTSYS)/lib
> Unix.*.Root.MacroPath: .:$(ROOTSYS)/macros
> WinNT.*.Root.DynamicPath: ./;$(ROOTSYS)/bin;$(PATH)
> WinNT.*.Root.MacroPath: ./;$(ROOTSYS)/macros
>
> Should this work for Windows 98 ? (I am not even certain that it is looked at
> by the root executable.) If not, then how must I change it to make it work ?
> I should point out that I am also just beginning to try to learn how to use
> root so don't even have any past experience from other platforms to help me.
>
> Thanks for any help you can give.
>
> Ray Beuselinck,
> Imperial College, London.
#################################################################
# Global .rootrc for ROOT sessions/jobs.
# More specific functionality can be obtained by providing a
# customized file ".rootrc" in the working directory.
#
# --- NvE 09-oct-1997 UU-SAP Utrecht
#################################################################
### Set search paths
WinNT.*.Root.DynamicPath: .;$(HOME)\cxx\libs;$(ROOTSYS)\bin
WinNT.*.Root.MacroPath: .;$(HOME)
### Identify logon etc... files
Rint.Load: rootalias.cc
Rint.Logon: rootlogon.cc
Rint.Logoff: rootlogoff.cc
Rint.History: $(HOME)\root_hist.C
### (De)Activate memory statistics
Rint.Root.MemStat: 0
### Set tags for documentation generation
Root.Html.Author: //--- Author:
Root.Html.LastUpdate: //- Modified:
### Root.Html.Copyright: // Copyright
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET