I have a code the run the inference yolov5 with MNN model. I developed on both Ubuntu x64 and android arm8 platform.
On Ubuntu, I built and installed MNN by using CMakeLists.txt, and my code was working easily. But when I transfer my code to android project, I got error: error: undefined reference to 'MNN::Tensor::create(std::__ndk1::vector<int, std::__ndk1::allocator<int> > const&, halide_type_t, void*, MNN::Tensor::DimensionType)'.
The reason of this issue is there is only below function on Tensor.hpp file static Tensor* create(const std::vector<int>& shape, void* data = NULL, DimensionType dimType = TENSORFLOW).
Is there any config in android project need to change to use std::vector in android instead of std::__ndk1::vector