1 | initial version |
Thanks berak and Steven Puttemans. The issue was resolved. The problem was that the the vcxproj file was not getting updated while i was including the new .h and .cpp file [dont know why]. So i copy pasted the contents of the new files into the older version in the older project and added stdafx as the first include file. This works fine now. The error was not due to the opencv headers as berak correctly pointed out.