Build and install OpenCV 3.4.10 version using visual studio 2010 on Windows system

Hi,

I want to build and install OpenCV 3.4.10 using visual studio 2010 on Windows system.
But I am getting compilation errors like -

  1. syntax error : ‘.’ …\sources\3rdparty\quirc\src\version_db.c
  2. error C2677: binary ‘&&’ : no global operator found which takes type ‘const std::exception_ptr’ (or there is no acceptable conversion)|…\opencv\sources\modules\core\src\async.cpp|112|
    3.error C1083: Cannot open include file: ‘fibersapi.h’: No such file or directory|…\opencv\sources\modules\core\src\system.cpp|150|

Please let me know how to build OpenCV 3.4.10 with Visual Studio 2010?
Is it possible to build OpenCV 3.4.10 with Visual Studio 2010?

Thank you.

Hello! I only use Visual Studio 2019 C++… But try these steps. They worked for 2019 version.

Visual studio 2010 is old and 3.4.10 date is april 2020. I’m not sure that cmake can manage VS 2010 with a recent version of opencv. You should update your ide