How to add cv::calcHist()

then, please show, what you’re doing, and resulting errors