how to use make use of OpenCV-2.4.6-android-sdk\sdk\native\libs\x86 libraries

asked 2013-08-19 04:36:22 -0500

azmath gravatar image

Hi I am trying to build an app for face detetcion usign android NDK , in my application i want to use c++ opencv libraries built for android x86 . so can i make use of OpenCV-2.4.6-android-sdk\sdk\native\libs\x86 libraries ? right now if i am trying to include these libraries , i am getting some linking error. anyoen can help me why i am getting this error ?

undefined reference to cv::_InputArray::~_InputArray()' undefined reference tocv::_OutputArray::~_OutputArray()' undefined reference to cv::_OutputArray::~_OutputArray()' undefined reference tostd::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_S_empty_rep_storage' undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' undefined reference tostd::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_S_empty_rep_storage' undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' undefined reference tostd::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' undefined reference tostd::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_S_empty_rep_storage' undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' undefined reference tostd::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_S_empty_rep_storage' undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' undefined reference tostd::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_S_empty_rep_storage' undefined reference to `std::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'

edit retag flag offensive close merge delete