I am trying to run a program for face detection using opencv. I have correctly included paths for opencv libraries in properties but still the program is giving error, failed to build the executable file and skipping the header files during debugging and give these messages:
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>.\avi2.cpp(241) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
1>Build log was saved at "file://c:\Users\Abdullah\Documents\Visual Studio 2008\Projects\avi2\avi2\Release\BuildLog.htm"
1>avi2 - 1 error(s), 10 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========