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

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

yxchng gravatar image

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

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


Have you try to delete build repo and rebuild opencv?

LBerger gravatar imageLBerger ( 2019-02-12 09:42:14 -0500 )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 -0500 )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 -0500 )edit