/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.9:undefined Reference totiffistiled@libtiff_4.0 '

Source: Internet
Author: User

Thanks Pits Warrior: https://www.cnblogs.com/whu-zeng/p/6874307.html

Today compiled Caffe, originally compiled countless times caffe, the basic pit can be solved. But this time it annoys me. have been uncertain.

The error message is this:

/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/ x86_64-linux-gnu/libopencv_highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64- linux-gnu/libopencv_highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu /libopencv_highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/ libopencv_highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/USR/LIB/X86_64-LINUX-GNU/LIBOPENCV _highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ Highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8: Undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8:undefined Reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8:undefined reference To ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8:undefined reference to ' [email  protected]_4.0 ' Collect2:error:ld returned 1 exit status Make[2]: * * * [/home/lex/catkin_ws/devel/lib/kinect2_ Calibration/kinect2_calibration] Error 1 make[1]: * * * [iai_kinect2/kinect2_calibration/cmakefiles/kinect2_ Calibration.dir/all] Error 2 make[1]: * * * waiting for unfinished jobs ..../usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-gnu/libopencv_ highgui.so.2.4.8:undefined reference to ' [email protected]_4.0 '/usr/lib/x86_64-linux-

Feeling is a package without:

Online said to pack this bag:

sudo apt-get install Libtiff4-dev

It's no use pretending to be ready.

Toss a half-day, simply uninstall, and then put anaconda2 below the libtiff.so removed.

2064 sudo apt-get remove Libtiff4-dev
2065 Locate libtiff.so
2066 mv/home/zenggq/anaconda2/lib/libtiff.so* ~/zenggq/bak/

Compile again, he succeeds, and the libtiff.so is created automatically under Anaconda2.

/home/zenggq/anaconda2/lib/libtiff.so

/usr/lib/x86_64-linux-gnu/libtiff.so
/usr/lib/x86_64-linux-gnu/libtiff.so.5
/usr/lib/x86_64-linux-gnu/libtiff.so.5.2.0

The estimate is a conflict. What the hell is the problem? Since I pits, I'll share it with you.

/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.9:undefined reference [email protected]_4.0 '

Related Article

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.