Problems runing the exe's from root/tutorial

Dear rooters :

I use root in cygwin and Windows 2000 . I have compiled the samples in Tutorial and it works fine but when i try to run the .exe I have problems.

For example when i try to run hworld.exe I have the following error:

Error in TTF::SetTextFont: font file arialbd.ttf not found in path
Error in TTF::SetTextFont: font file arialbd.ttf not found in path
Error in TTF::SetTextSize: current font index out of bounds
Error in TTF::SetTextFont: font file arialbd.ttf not found in path
Error in TTF::SetTextSize: current font index out of bounds

And if I try to run guitest.exe I have this one:

Error in TGHScrollBar::TGHScrollBar: arrow_.xpm not found
Error in TGVScrollBar::TGHScrollBar: arrow_
.xpm not found
TGMainFrame: id=0 parent=0 x=0 y=0 w=400 h=290
TGDockableFrame: id=0 parent=0 x=0 y=1 w=400 h=17

It looks like a problem in the file “system.rootrc” but I have revised it and I think it is ok…

In the case of the hworld.exe , “system.rootrc” has:

    Unix.*.Root.UseTTFonts:     true
  *.*.Root.TTFontPath:        $(ROOTSYS)/fonts

And In the case of guitest.exe :
Gui.IconPath: $(HOME)/icons:$(ROOTSYS)/icons:.

I have revised the ROOTSYS variable and it is pointed to “c:\Programs\root” where I have installed root.

Look the second line in the “guitest.exe” error :
“Error in <TGVScrollBar::TGHScrollBar…”

        TGV...::TGH...  <---- IS THIS OK???

Thank You

Juan

Hi Juan,

are you using win32 or win32gcc? If it’s the latter your ROOTSYS should not be

but /cygdrive/c/Programs/root

Axel.

Hi Axel…Thank You very Much by the Answer…But that was not the main problem…

The main problem was that at the time of installing Root I didnt create the file \cygwin\etc\profile.d \root.sh.

Another error was : I tried to run the exe’s directly in Windows 2000.

They run in X11…!

Thank you very much again…

Juan