OpenCV MakeFile build error

asked 2016-09-07 05:23:57 -0600

swarajd gravatar image

updated 2018-09-01 02:42:13 -0600

Dear All,

I am trying to install OpenCV and integrate it with Eclipse as I wish to do some image processing. I installed OpenCV 3.1 on windows 10 (64 bit), CMake 3.6.1 and MinGW (both gcc and g++ version 5.3.0).

In CMake i specified the source code path as: C:/opencv/sources and the location to build the binaries as : C:/opencv/sources/release and I have "MinGW Makefiles" as my current generator. Upon running the makefile in C:\opencv\sources\release using the following command in "cmd": 'mingw32-make', at around 21% of the build I am getting the error: 'pthread_self' was not declared in this scope at the following file location C:\opencv\sources\modules\core\src\parallel.cpp:457:45 (photo C:\fakepath\makefile_err.jpegattached).

I tried to configure and generate again using CMake but i still get this error, any piece of advice would be helpful :)

Regards, Swaraj

edit retag flag offensive close merge delete