Is anyone know how to use opencv 3.1 in eclipse ide? (windows 64bit) ive searching for days now and still cant figure out how. Ive tried some methods but when I run the "mingw32-make" i always got errors.
Is anyone know how to use opencv 3.1 in eclipse ide? (windows 64bit) ive searching for days now and still cant figure out how. Ive tried this method (http://cookyourpc.blogspot.com/2015/08/setting-up-opencv-on-windows-with.html) but when I run the "mingw32-make" part i always got errors.
C:\opencv\sources\modules\core\src\parallel.cpp: In function 'int cv::getThreadNum()':
C:\opencv\sources\modules\core\src\parallel.cpp:457:45: error: 'pthread_self' was not declared in this scope
return (int)(size_t)(void)pthread_self(); // no zero-based indexing
^
modules\core\CMakeFiles\opencv_core.dir\build.make:965: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.obj' failed
mingw32-make[2]: [modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.obj] Error 1
CMakeFiles\Makefile2:1468: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
mingw32-make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
mingw32-make: ** [all] Error 2
even i apply this