1 year ago
#179837
Monir Zzaman
Android: How to include mlpack c++ library into android project?
I trying to include mlpack c++ library into my android project but getting an error when using some function of mlpack like:
NeighborSearch<NearestNeighborSort, ManhattanDistance> nn(data);
Error:
> 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
Could you please help me step by step to resolve this issue?
android
c++
android-native-library
mlpack
0 Answers
Your Answer