Why am I getting "undefined symbol:_ZN2cv6detail17check_failed_autoEmmRKNS0_12CheckContextE" error?

asked 2019-02-12 09:02:33 -0600

yxchng gravatar image

updated 2019-02-12 09:15:50 -0600

Why am I getting the following error?

"/home/xxx/git/opencv-3.4.5/build/install/lib/libopencv_imgcodecs.so.3.4: undefined symbol: _ZN2cv6detail17check_failed_autoEmmRKNS0_12CheckContextE."

This is the entire error message.

I searched and found nothing on the web on this error.

edit retag flag offensive close merge delete

Comments

Have you try to delete build repo and rebuild opencv?

LBerger gravatar imageLBerger ( 2019-02-12 09:42:14 -0600 )edit

Yup and I have tried multiple versions of OpenCV, 3.4.5, 3.4.3, 3.4.1

yxchng gravatar imageyxchng ( 2019-02-12 18:20:07 -0600 )edit

This the demangled symbol:

cv::detail::check_failed_auto(unsigned long, unsigned long, cv::detail::CheckContext const&)

Put more information about your CMake configuration and about your platform.

Eduardo gravatar imageEduardo ( 2019-02-13 03:33:01 -0600 )edit

I met the same problem with opencv3.4.7, do you solve it?

youthM gravatar imageyouthM ( 2019-11-07 01:26:10 -0600 )edit