opencv3.0 processing method of error in embedded Linux compiling process.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.