Cannot compile sample macros


I am new to using RooStats. When I try to run the macro in the tutorials StandardProfileLikelihoodDemo.C
I receive an error Error: cannot open file “RooWorkspace.h”

I am following the youtube series
on how to use Roostats.

The ROOT I have built ROOT 3.34.10 from the repository.

What am I missing?



Now I try to folling the instructions on … o_RooStats

i.e. .L $ROOTSYS/tutorials/roostats/StandardProfileLikelihoodDemo.C

and I get same error, why does this not run after I have installed ROOT?

Help please?

Interesting news,

The rootstats sample macros compile correctly on Linux machines, but not Macs.

Is someone going to address this?