Cannot find macro on windows, was: Re: TChain

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 16 Dec 2009 23:01:12 +0100


Hi,

are your TEMP / TMP variables' values really starting with a space? They shouldn't! :-)

Can you actually read the file? Does a simple .x HelloWorld.C
work, with HelloWorld.C wherever you started ROOT? If it doesn't, does .! type HelloWorld.C
show the content of the file?

Cheers, Axel.

On 2009-12-16 22:05, Nick van Eijndhoven wrote:
> Hi Elliott,
> Maybe you have to update your .rootrc file in your home directory
> to specify the paths where to look for the macros.
>
> When you tried to circumvent the problem by putting your macro in
> another directory, you tried c:\root\macro whereas the error message
> seems to indicate it should be c:\root\macros
> So, trying it out with c:\root\macros should work to my opinion, otherwise
> there is something else which goes wrong.
>
> Just my 2 (euro) cents,
> Nick.
>
> On Wed, Dec 16, 2009 at 9:33 PM, Bloom, Elliott
> <elliott_at_slac.stanford.edu <mailto:elliott_at_slac.stanford.edu>> wrote:
>
> Dear Root Talkers,
> I am trying to get Root V5.24 running on Windows 7 Ultimate.
> ROOT installed OK and I was able to run the benchmark OK. My machine
> performed well. However, when trying to execute a script, called
> HelloWorld.C, I get the message:
> " Error in <TApplication::ExecuteFile>: macro HelloWorld.C not found in
> path .;C:\root/macros;"
>
> I have set up the Windows 7 environmental variables with this template:
>
> ROOTSYS=c:\root
> HOME=c:\
> PATH=%ROOTSYS%\bin;%ROOTSYS%\lib;%PATH%;%HOME%
> TEMP= c:\Temp
> TMPDIR= c:\Temp
>
> I have tried putting the HelloWorld.C file in c:\root\macro, and in
> c:\root. I get the same error.
> Any ideas?
>
> Thanks,
> Elliott Bloom
>
>
>
>
>
> --
> Nick van Eijndhoven
> Professor of Physics
> Vrije Universiteit Brussel (VUB-ELEM)
> Inter-university Institute for High Energies (IIHE)
> Pleinlaan 2, B-1050 Brussel, Belgium
> --
> Office : 0G-122 tel: +32.(0)2.629.3212 gsm: +32.(0)488.074166
> Secr. : 1G-006 tel: +32.(0)2.629.3203 fax : +32.(0)2.629.3816
> Email : nickve.nl <http://nickve.nl>@gmail.com <http://gmail.com>
> Skype: nickve.nl <http://nickve.nl> Gsm-NL: +31.(0)6.40181589
> Web : http://w3.iihe.ac.be http://sites.google.com/site/nickveweb
>
> "In the beginning there was nothing, which exploded".
Received on Wed Dec 16 2009 - 23:01:17 CET

This archive was generated by hypermail 2.2.0 : Thu Dec 17 2009 - 05:50:04 CET