Ask Your Question

Revision history [back]

latest version build error (link error)

I downloaded 3.0.0 version and tried to build it with gcc 4.4.7. Here is the configuration option below.

cmake -D CMAKE_BUILD_TYPE=release -D CMAKE_INSTALL_PREFIX=/home/me/opencv ..

And I just ran make and saw the error message like the below.

../../lib/libopencv_core.so.3.0.0: undefined reference to parallel_pthreads_set_threads_num(int)' ../../lib/libopencv_core.so.3.0.0: undefined reference toparallel_pthreads_get_threads_num()' ../../lib/libopencv_core.so.3.0.0: undefined reference to `parallel_for_pthreads(cv::Range const&, cv::ParallelLoopBody const&, double)' collect2: ld returned 1 exit status

I tried to find some previous questions but the patch they were saying has been already adopted. What would be the problem?