Post date: Jan 03, 2017 9:6:45 AM
Learnt something new today. Don't put "using namespace cv;" in header .h files. Under certain situations this will happen
http://answers.opencv.org/question/62079/access-mask-ambiguous-symbol/
Putting code in header files should not be encouraged UNLESS it is a template declaration in which case you have no choice. Otherwise, the code in the header is no longer a forward declaration and things can get messy when your project gets more complex.