Ask Your Question

Ahmedn1's profile - activity

2017-06-20 04:26:32 -0500 received badge  Notable Question (source)
2016-02-24 08:50:27 -0500 received badge  Popular Question (source)
2015-06-02 23:35:42 -0500 received badge  Student (source)
2015-06-02 12:32:45 -0500 asked a question Error in Building OpenCV for Microsoft VS 2015

I have: - Windows 8.1 x64 - VS 2015 Community Edition

I used this tutorial to build OpenCV to work with VS http://docs.opencv.org/doc/tutorials/...

I followed everything and built the OpenCV from its sources using CMake the only components I didn't include are Intel © Integrated Performance Primitives (IPP), CUDA and QT

Everything went fine until the step where I open the solution OpenCV using VS and try to build it I had a list of 9 errors:

Severity Code Description Project File Line Error D8040 error creating or communicating with child process opencv_perf_core E:\OpenCV\Build\modules\core\cl 1

Severity Code Description Project File Line Error C2264 'std::tuple<cv::size,perf::`anonymous-namespace'::matdepth>::tuple': error in function definition or declaration; function not called opencv_perf_core E:\OpenCV\Source\modules\core\perf\opencl\perf_channels.cpp 165

Severity Code Description Project File Line Error C1903 unable to recover from previous error(s); stopping compilation opencv_perf_core E:\OpenCV\Source\modules\core\perf\opencl\perf_channels.cpp 165

Severity Code Description Project File Line Error C2610 'std::tuple<cv::size,perf::<code>anonymous-namespace'::MatDepth>::tuple(const std::tuple<cv::Size,perf::anonymous-namespace'::MatDepth> &)': is not a special member function which can be defaulted (compiling source file E:\OpenCV\Source\modules\core\perf\opencl\perf_channels.cpp) opencv_perf_core E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple 325

Severity Code Description Project File Line Error C2610 'std::tuple<cv::size,perf::<code>anonymous-namespace'::MatDepth>::tuple(std::tuple<cv::Size,perf::anonymous-namespace'::MatDepth> &&)': is not a special member function which can be defaulted (compiling source file E:\OpenCV\Source\modules\core\perf\opencl\perf_channels.cpp) opencv_perf_core E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple 326

Severity Code Description Project File Line Error C2535 'std::tuple<cv::size,perf::<code>anonymous-namespace'::MatDepth> &std::tuple<cv::Size,perf::anonymous-namespace'::MatDepth>::operator =(const std::tuple<cv::size,perf::`anonymous-namespace'::matdepth> &)': member function already defined or declared (compiling source file E:\OpenCV\Source\modules\core\perf\opencl\perf_channels.cpp) opencv_perf_core E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple 452

Severity Code Description Project File Line Error C2382 'std::tuple<cv::size,perf::`anonymous-namespace'::matdepth>::operator =': redefinition; different exception specifications (compiling source file E:\OpenCV\Source\modules\core\perf\opencl\perf_channels.cpp) opencv_perf_core E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple 452

Severity Code Description Project File Line Error C3861 '.?AV?$Matx@N$01$01@cv@@': identifier not found (compiling source file E:\OpenCV\Source\modules\core\test\test_mat.cpp) opencv_test_core E:\OpenCV\Source\modules\core\include\opencv2\core\mat.inl.hpp 1597

Severity Code Description Project File Line Error C2672 'cv::Mat::operator cv::Matx<double,2,2>': no matching overloaded function found (compiling source file E:\OpenCV\Source\modules\core\test\test_mat.cpp) opencv_test_core E:\OpenCV\Source\modules\core\include\opencv2\core\mat.inl.hpp 1597

So what is the solution?