0
I have compiled the source file opencv and when I test it some problem occurred like this:
/usr/local/lib/libopencv_objdetect.so.3.4.6: undefined reference to `std::thread::_State::~_State()@GLIBCXX_3.4.22'
/usr/local/lib/libopencv_objdetect.so.3.4.6: undefined reference to `std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())@GLIBCXX_3.4.22'
/usr/local/lib/libopencv_objdetect.so.3.4.6: undefined reference to `typeinfo for std::thread::_State@GLIBCXX_3.4.22'
collect2: error: ld returned 1 exit status
I tried to find solutions for this problem but failed. What's wrong with it? How can I solve it?