Example from "OpenCL C++ Bindings Documentation" don't work

Hello, I’m new to OpenCL world…
I’m try to understood the example at github.khronos.org/OpenCL-CLHPP but there is some bug, I think…
The variable output2 is not declared, so i have comment it but I get many many link error.
There is some one can help me?