我试图将mlpack c++库包含到我的 android 项目中,但是在使用 mlpack 的某些功能时出现错误,例如:
NeighborSearch<NearestNeighborSort, ManhattanDistance> nn(data);
错误:
> undefined reference to `mlpack::Log::Assert(bool, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)'
> clang++: error: linker command failed with exit code 1 (use -v to see
> invocation) ninja: build stopped: subcommand failed
你能帮我一步一步解决这个问题吗?