I want to develop openCv project in Visual Studio 2017. I downloaded the opencv pre-build libraries and made necessary settings. That is:
1) I added System Path ..
It is still unfixed until 15.7.4 which was published today.
It seems the problem is related with VS2017, I tried on VS2015 and did not get such an error.
You can disable the Auto Quick Info option by starting at the top menu and navigating to Tools, Options, Text Editor, C/C++, Advanced and under IntelliSense change the value for Auto Quick Info to False.
This will turn all of the Quick Info helpers off, but will at least keep the project from freezing.
This error is caused due to a long comment about Mat. Look for mat.hpp files in your include directory of opencv (use search to find) >> go to Mat function definition >> remove the multiline comment before Mat definition.
There are two mat.hpp files in the include directory. Follow the steps in both.
Save the files. Restart Visual Studio and enjoy !!