Bexec problem on WinXP

Hi! i try to run benchmark.C on WinXP sp1a with ROOT 3.10.02 win gdk


Compiled for win32gdk.

CINT/ROOT C/C++ Interpreter version 5.15.115, Dec 9 2003
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x benchmark.C
root [1] Error: Function bexec(“framework.C”) is not defined in current scope 2
Possible candidates are…
filename line:size busy function type and name
*** Interpreter error recovered ***

what can i do to make it work? thanks!

Hi Adrian,
you need to run benchmarks.C from inside
$ROOTSYS/tutotrials directory.

HTH. Regards. Valeriy

i made an TBrowser and i duble -cliked on benchmark.C with the same result

Hi adrian_sev,
bexec function is defined in $ROOTSYS/tutorials/rootalias.C

You must “load it” before starting TBrowser.
e.g.
root [0].L $ROOTSYS/tutorials/rootalias.C
root [1]new TBrowser

HTH. Regards. Valeriy

Thank you very much! works