AHA! So before the CV_BGR2GRAY were not defined inside the cv namespace? Will make the changes!