Visual Studio 2017 Freezes when I move mouse over Mat keyword (OpenCv 3.4.1)

前端 未结 4 1577
灰色年华
灰色年华 2021-02-03 12:47

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 ..

4条回答
  •  梦如初夏
    2021-02-03 13:44

    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 !!

提交回复
热议问题