You need to parameterize the stepper with range algebra:
typedef runge_kutta_dopri5<
state_type, double,
state_type, double,
openmp_range_algebra
> stepper_type;
typedef controlled_runge_kutta< stepper_type > controlled_stepper_type;
typedef controlled_stepper_type::error_checker_type error_checker_type;
const double eps_absolute = 1.0e-6;
const double eps_relative = 1.0e-6;
controlled_stepper_type stepper( error_checker_type( eps_absolute , eps_relative ) );
make_controlled factory.
typedef runge_kutta_dopri5<
state_type, double,
state_type, double,
openmp_range_algebra
> stepper_type;
auto stepper = make_controlled( 1.0e-6 , 1.0e-6 , stepper_type() );