http://m.blog.csdn.net/blog/wanghao225225/39252757
The article in the above link describes the opencv3.0 compilation method, but the compilation process will be an error.
Error 1:undefined reference to ' parallel_pthreads_set_threads_num (int) '
.. /.. /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 to ' parallel_pthreads_get_threads_num () '
.. /.. /lib/libopencv_core.so.3.0.0:undefined reference to ' parallel_for_pthreads (Cv::range const&, CV:: Parallelloopbody Const&, double)
Workaround view this link: http://blog.csdn.net/lyk_ffl/article/details/47683549
Error 2: Hint: "avcodecid" undefined before ...
In 1546 rows and 1556 rows of two functions have a reference to "avcodecid", but said he did not define, in fact, he defined a cv_code_id, you can use this to replace the two functions of the reference,
Recompile will not be an error. The problem is resolved.
opencv3.0 processing method of error in embedded Linux compiling process.