undefined reference to `cv::imwrite
enviroment:Audio Studio 3.1.2,Android 8.0,opencvforAndroid341。 Use C++ to call opencv libs,and compile : undefined reference to `cv::imwrite(cv::String const&, cv::_InputArray const&, std::__ndk1::vector<int, std::__ndk1::allocator<int=""> > const&)',I don't know why,Have anyone ever met this problem? Thanks!
audio studio, really ?
and you compiled some c++ code, but failed to link nessecary opencv libs like opencv_imgcodecs
yes,but i have include opencv_imgcodecs,imread function no problem。
including headers is nessecary for the compile step, but now you have to link the resp. library to your program.
no,if not include library,imread will undefined reference too。
oh,right. wrong analysis on my side, then. (did not see the imread comment, sorry.)
std::__ndk1::vector
<-- what on earth is this ? opencv does not use itrelated (unanswered) question
might be , you're using the wrong stl implementation ?
I'm not sure where can i config the right stl implementation?Thanks!
It‘s OK now,Thanks。’
@oclearner so, how did you solve it? can you share with me? i believe i encountered the same issue, many thanks!
can you tell me how to fix this issue, thanks.