Complied under VS2010+OpenCV on Windows.